CheckBox renderer for DataGridColumn
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:VBox> <mx:DataGrid editable="false"> <mx:columns> <mx:DataGridColumn headerText="A" dataField="title"/> <mx:DataGridColumn headerText="B" dataField="artist"/> <mx:DataGridColumn headerText="C" dataField="inFavorites" itemRenderer="mx.controls.CheckBox" /> </mx:columns> <mx:dataProvider> <mx:ArrayCollection> <mx:Array> <mx:Object title="A" artist="a" rating="5" inFavorites="false" /> <mx:Object title="B" artist="b" rating="3" inFavorites="true" /> <mx:Object title="C" artist="c" rating="4" inFavorites="false" /> <mx:Object title="D" artist="d" rating="5" inFavorites="true" /> </mx:Array> </mx:ArrayCollection> </mx:dataProvider> </mx:DataGrid> </mx:VBox> </mx:Application>