Hi, I have a datagrid displaying some database records. The user can select an item in the datagrid and a new form showing the selected record will be created on the fly.
However the form contains a combobox and its selectedIndex has to be set to the value of the selected record. I googled and found a way to change the selectedIndex to the value from the datagrid. The problem I am facing is that I create the form dynamically and fill it with the values from the datagrid. For TextInput fields this is not a problem (in general components not relying on a dataprovider). As soon as I use a combobox, I am getting null references as the dataprovider for i.e. the combobox is not initialized. The dataprovider is a bindable array collection which is filled via a web service. I hope someone can help. I know I am asking a lot of help, given the brief description of the problem above. As I hestitant to post a lot of Flex code not to clutter this post. TIA --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

