Try:

 

<mx:DataGridColumn id="column4"  textAlign="center" headerText="Multi"
width="100" dataField="multi" >
<mx:itemRenderer>
 <mx:Component>
 <mx:CheckBox  />
 </mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Preet
Sent: Tuesday, March 04, 2008 1:03 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] datagrid with checkbox implementation

 

Hi All,

 

Hi in my application am using datagrid in that am using dataprovider for
displaying the data
the data has been retrieving using remote object.

am using the check box within itemrenderer.

<mx:DataGridColumn id="column4"  textAlign="center" headerText="Multi"
width="100" dataField="multi" >
<mx:itemRenderer>
 <mx:Component>
 <mx:CheckBox  selected="{data.multi}"/>
 </mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>

by using the above code all the checkboxes are selected.
But when getting the data from remote object I have some true and false
values
these values are reflected on comboBox. 
When it is true then checkbox is checked otherwise not selected. How to
use the
functionality for that.

can anyone help me how to achieve this.

--tomt.

 

 

 

Reply via email to