i used iteamreander in datagrid . if i select checkbox in grid automatically select another checkbox why? plz explain My xml data is more then 50 records.
<mx:DataGrid change="calculate()" id="calamount" x="0" y="3" width="327"
height="337" variableRowHeight="true"
dataProvider="{xml_coupon.lastResult.Teamcoupon.match_details}" >
<mx:columns>
<mx:DataGridColumn headerText="Away" dataField="away_team" width="100"/>
<mx:DataGridColumn headerText="1" rendererIsEditor="true"
editorDataField="selected">
<mx:itemRenderer>
<mx:Component>
<mx:HBox verticalAlign="middle" paddingLeft="2">
<mx:CheckBox id="checkbox1" selected="{outerDocument.checkedAll}"
click="{data.check1=checkbox1.selected;outerDocument.calcValues();}"/>
</mx:HBox>
</mx:Component>
</mx:itemRenderer>