Hi All,
         I am creating DataGridColumn on the fly based up user input.
All of these column required different -different label function. So I
have created a XML file which contains key value pair of dataField
Nane and corresponding labelfunction  Name .
<Root>
        <Formatter>
                <dataField>TradingDate</dataField>
                <FormatterName>matsDateFormatter</FormatterName>
        </Formatter>
        <Formatter>
                <dataField>TradingDate</dataField>
                <FormatterName>matsDateFormatter</FormatterName>
        </Formatter>
</Root>

I am fetching function name from this file using xml api. But when I
assign fetched label function to dataGridColumn I got error which is
expected.
Col.labelFunction = “lableFucntionName”;



Can we dynamically assign label function name to dataGridColun  ? Do
we have  similar java reflection type mechanism in flex ?



Thanks,
Dharmendra




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to