I have following code: The problem is that I want to deselect the
other check box when one is a selected. Because they are defined as
inline components, I am not able to do much in terms of gaining the
handle for them. Please help
<mx:DataGrid id="dg" editable="true"
height="206" width="650"
y="119" dataProvider="{(model.mangeCategoryVOForRPC.categories)}"
borderStyle="inset" fontFamily="Verdana">
<mx:columns >
<mx:DataGridColumn
headerText="Category"
dataField="categoryName" resizable="true" width="260" />
<mx:DataGridColumn
headerText="Status" dataField="statusName"
editable="false" resizable="false" width="130"/>
<mx:DataGridColumn
headerText="Delete" dataField="isActivate"
editable="false" rendererIsEditor="true" editorDataField="selected"
width="130">
<mx:itemRenderer>
<mx:Component>
<mx:CheckBox
id="deleteChkBox" tabEnabled="true"
click="clickOnDeleteChkBox(event)"
selected="{outerDocument.isDeleteSelected}"
enabled="{outerDocument.isDeleteEnabled}"/>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
<mx:DataGridColumn
headerText="Activate" dataField="isActivate"
editable="false" rendererIsEditor="true" editorDataField="selected"
width="130">
<mx:itemRenderer>
<mx:Component>
<mx:CheckBox
id="activateChkBox" tabEnabled="true"
click="clickOnActivateChkBox()"
selected="{outerDocument.isActiveSelected}"
enabled="{outerDocument.isActiveEnabled}"/>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---