rendererIsEditor

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of li_rang
Sent: Thursday, September 13, 2007 7:30 PM
To: [email protected]
Subject: [flexcoders] checkbox in datagrid

 

Hi, All, 

I have a strang problem in datagrid, the last column in my datagrid 
is based on checkbox, but the when i click the checkbox, it turned to 
textinput again. Here are my code:
<mx:DataGrid id="dg_detail" dataProvider="{detail}" editable="true" >
<mx:columns>

<mx:DataGridColumn headerText="Name" dataField="name" 
editable="false" />

<mx:DataGridColumn headerText="Instock" dataField="instock" 
editable="false"/>


<mx:DataGridColumn headerText="Add to List" 
dataField="select" itemRenderer="mx.controls.CheckBox" 
editable="true"/>
</mx:columns>
</mx:DataGrid>

any help will be appreciated. thanks

 

Reply via email to