Did you add some sort of double-click logic to the DG?  The basic example only 
uses single click for selection.  The selectionIndices should change and then 
the checkbox renderer should call isItemSelected and check the box if needed.


On 7/29/10 9:08 AM, "Rajan" <ilikef...@yahoo.com> wrote:






Hi

I am using Alex Sample in my piece of the code.

http://blogs.adobe.com/aharui/2008/02/checkbox_selection_in_datagrid.html

I have made grid editable and added the below columns couple of times.

<mx:DataGridColumn dataField="firstName" headerText="First Name" />
<mx:DataGridColumn dataField="lastName" headerText="Last Name" />

When i double click on any row the checkbox is selected for that row.

But the checkbox is only selcted when the checkbox is view area of the grid.If 
you scroll through the last column and double click the last column while you 
are not able to see the checkbox, the checkbox does not becomes selected.

The challenge is how to make it selectable even if the checkbox is not visible.

Any pointers...

Thanks
ilikeflex






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to