Re: [flexcoders] Re: Issue with item renderer in Flex 3

2010-07-23 Thread Alex Harui
The color of the checkbox must be associated with the data either by adding a property to the data or by comparing the data to see if it is in the selectedItems (if you used the checkbox dg example from my blog) or by using a Dictionary or some other map. If you are having problems after doing

RE: [flexcoders] Re: Issue with item renderer in Flex 3

2010-07-23 Thread Gregor Kiddie
If you are doing a lot of this, there is a decent approach but it's very long winded... Override your DG so that when you add to the dataprovider (or when items are added to the DP) the objects in the DP get wrapped in a DGAware object. This object provides access to the wrapped object and expo