Hi
I have a datagrid with a checkbox renderer. I want to know if checkbox in each row is checked or not.
My datagrid is as
<mx:DataGrid id="classgroupOfModule" dataProvider="{moduleClassgroupList.currentItem.classgroups}" width="100%">
<mx:columns>
<mx:Array>
<mx:DataGridColumn headerText="Select" columnName="studentSelection"
cellRenderer="com.lsmonline.client.view.util.CheckBoxCellRenderer"/>
<mx:DataGridColumn headerText="Name" columnName="classgroupName" />
<mx:DataGridColumn headerText="Capacity" columnName="classgroupCapacity" />
<mx:DataGridColumn headerText="Current Enrol" columnName="currentEnrolments" />
</mx:Array>
</mx:columns>
</mx:DataGrid>
<mx:columns>
<mx:Array>
<mx:DataGridColumn headerText="Select" columnName="studentSelection"
cellRenderer="com.lsmonline.client.view.util.CheckBoxCellRenderer"/>
<mx:DataGridColumn headerText="Name" columnName="classgroupName" />
<mx:DataGridColumn headerText="Capacity" columnName="classgroupCapacity" />
<mx:DataGridColumn headerText="Current Enrol" columnName="currentEnrolments" />
</mx:Array>
</mx:columns>
</mx:DataGrid>
Should i use mx.controls.Checkbox as my renderer or should i customise it. In my customised renderer i do nothing really. My requirement is to get the selected rows which the user has checked.
Please advise.
Thanks
Husain
What are the most popular cars? Find out at Yahoo! Autos
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

