This is a VERY generic CheckBox item renderer to use in a DataGrid.
All you have to do is drop it in your DataGridColumn and it will take care of himself.
Only thing you need to make sure is the data it receives to be a Boolean.
You do not have to give it any data specific values (e.g. name of the dataField…).
Notice (#1) the implementation of IDropInListItemRenderer.
Notice (#2) the forced dispatching of a CollectionEvent.COLLECTION_CHANGE event, this is done to notify the data provider change.
p.s. This is part of another post I’ll post later about check boxes in data grid.
Demo is here (right click for source)
Source is here
