Hi Flex Buddies,
I'm using a ComboBox as an itemRenderer to a DataGridColumn, based on
certain conditions i need to change the content of dataprovider to the
ComboBox.
scenario 1 :
->my dataprovider is : new ArrayCollection
([{value:"one",active:"y"},{value:"two",active:"y"},
{value:"three",active:"n"},{value:"four",active:"y"},
{value:"five",active:"n"}]);
->initially when i'm feching data from the database i need all items
ie; where active = 'y' or 'n' should appear in the Combobox.
->I have a provision to add a new row , when i add, only items with
active ='y' should contain in the newly added row's combobox but the
previous existing row should contain all the items in the
dataprovider;
I don't know how far filter function as well as label function would
solve this, since i did not get much time to explore them on this
requirement.
can Some body help me out in fixing this. any queries are welcome.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---