The Flex Explorer sample has an example under Component Library > DataGrid > Custom Cell Renderers

 


From: [email protected] [mailto:[email protected]] On Behalf Of sandip_patil01
Sent: Tuesday, November 08, 2005 11:34 PM
To: [email protected]
Subject: [flexcoders] How to add checkboxes to datagrid

 

Hi All,

I want to add checkboxes to my DataGrid's first column.
Here is my scenorio,

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml">
<mx:DataGrid id="dataGrid">
  <mx:columns>
      <mx:Array>
        <mx:DataGridColumn headerText="" width="23" />
        <mx:DataGridColumn headerText="Customer Name"/>
        <mx:DataGridColumn headerText="Contact Name" /> 
        <mx:DataGridColumn headerText="Type" />
        <mx:DataGridColumn headerText="Details" />
      </mx:Array>     
  </mx:columns>
</mx:DataGrid>                                         
                                         
</mx:Application>

Can anybody tell me how to do this.

Thx,
Sandip patil







--
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




Reply via email to