i created dynamically checkbox on data grid how do i find out Which checkbox select/unselect and which checkbox contact is select/unselect ? Because we cant set dynamic id for each checkbox
<mx:DataGrid x="7" y="3" width="347" height="337" dataProvider="{#####}" variableRowHeight="true">
<mx:columns>
<mx:DataGridColumn headerText="S.No" dataField="match_id" width="50"/>
<mx:DataGridColumn headerText="Home" dataField="home_team" width="100"/>
<mx:DataGridColumn headerText="Away" dataField="away_team" width="100"/>
<mx:DataGridColumn headerText="1" >
<mx:itemRenderer>
<mx:Component>
<mx:HBox verticalAlign="middle" paddingLeft="2">
<mx:CheckBox>
</mx:CheckBox>
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
<mx:DataGridColumn headerText="*" >
<mx:itemRenderer>
<mx:Component>
<mx:HBox verticalAlign="middle" paddingLeft="2">
<mx:CheckBox>
</mx:CheckBox>
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
<mx:DataGridColumn headerText="2">
<mx:itemRenderer>
<mx:Component>
<mx:HBox verticalAlign="middle" paddingLeft="2">
<mx:CheckBox>
</mx:CheckBox>
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid>