View Full Version : Datagrid and checkbox

09-30-2011, 07:18 AM

I am very new to Flex. I have a datagrid with checkbox. Once I select a checkbox am unable to uncheck it but when i select any other checkbox that makes the first checkbox unchecked

Is there a way i can uncheck the checkbox.

My code looks like this

<s:CheckBox id="selectedCheckBox" selected.selected="true" selected.normal="false" mouseEnabled="false" mouseChildren="false" />

<mx:DataGridColumn width="5" itemRenderer="com.datagrid.CheckBoxRenderer"/>

Thanks in advance

09-30-2011, 11:27 PM
Don't bind selected to the states like that. The focus is taken away when you click on another itemrenderer so the state changes and the box is unchecked.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum