Hi Matt,
 
Thanks for your response.
I tried Flex Explorer sample under Component Library > DataGrid > Custom Cell Renderers this example.
 
I copied these two files in folder c:\sample

1) CheckCellRenderer.as
2) CheckCellRendererDemo.mxml
 
& tried to run but it is showing me error

   "There is no property with the name CheckCellRenderer"
 
 
Sandip P.

Matt Chotin <[EMAIL PROTECTED]> wrote:

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

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sandip_patil01
Sent: Tuesday, November 08, 2005 11:34 PM
To: flexcoders@yahoogroups.com
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






Yahoo! FareChase - Search multiple travel sites in one click.

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to