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 that, then you are not properly resetting the color if the data association does not require the color to be yellow On 7/23/10 6:04 AM, "shameer.forflex" <shameer.forf...@yahoo.com> wrote: I tried even this. The problem is that I am using the same checkbox renderer in multiple columns. So if I use isEdited with the data(data.isEdited), when you check one checkbox in one column, color of the checkbox in other columns also changes to yellow. Also I didn't want to associate isEdited to the data, since I thought there would be a better approach. Thanks Shameer --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Gregor Kiddie" <gregor.kid...@...> wrote: > > Add the isEdited variable to your data item and inside set data(...) do > > > > If (data.isEdited) { > > ... > > } > > > > Instead. > -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui