I have a datagrid with an XML object as dataprovider. There are 2 columns in the datagrid which have comboboxes as their itemrenderers. The rendereriseditor property is also marked true. These itemrenderers are defined in their own mxml files. What i want is if the user selects a particular item in the combobox, say NA, then the value of the other combobox should also become NA.
How can i achieve such a behavior?
Thanks
Sid
The possible solution may be to change the data's prop that can be bound in that dependable column. There is no default communication mechanism for item renderers in Flex but you can play with dataProvider.
Also, I wouln not recommend this way Flex - Sending a parameter to a custom ItemRenderer? as it is not OOP style.
Also, this article may be useful too: http://blog.flexdevelopers.com/2009/06/flex-examples-item-renderers-in.html