I was given an AdvancedDataGrid and need helping adding a column of check boxes to the front. The code is something similar to this, though a good bit of the styling and extra functionality has been stripped out. Don't think an intern should be posting company code online.
<mx: AdvancedDataGrid>
<mx:columns>
<mx: AdvancedDataGridColumn dataField = "something1" headerText="1"/>
<mx: AdvancedDataGridColumn dataField = "something2" headerText="2"/>
<mx: AdvancedDataGridColumn dataField = "something3" headerText="3"/>
<mx: AdvancedDataGridColumn dataField = "something4" headerText="4"/>
<mx: AdvancedDataGridColumn dataField = "something5" headerText="5"/>
<mx: AdvancedDataGridColumn dataField = "something6" headerText="6"/>
</mx: columns>
</mx: AdvancedDataGrid>
I want to add a column of check boxes in front of the first column. Not entirely sure how to do it though. I found an example online(working on finding the link will post ASAP) that create classes that render the header(Need the header to function as select all and deselect all) and the check boxes, but no matter what I do it doesn't work. Anyone have any ideas or can point me to a good example of what to do. Anything with a detailed explanation would be greatly appreciated.