Hi Alex,

Thanks.

I looked into it. But it doesn't allow selection at all.

To make it more clear, this is what I need:

I have a datagrid with first column as checkbox. Rest of the columns are
normal ones(text based).

Next, I click on first row(any of the columns, except for the first column
which has checkbox) in the datagrid. Hence, first row gets selected
(highlighted).

Now, I will try to tick on 2nd row using checkbox column. At this point in
time, I want to retain the first row's selection.

But if I try to tick on 2nd row's checkbox, 2nd row gets selected. I want
to avoid this selection and retain older selection ie., first row.

On Fri, Jan 16, 2015 at 9:18 PM, Alex Harui <[email protected]> wrote:

> Did you look at various examples of this?  There are two old variants on
> my blog:
>
> https://blogs.adobe.com/aharui/2008/02/checkbox_selection_in_datagrid.html
> https://blogs.adobe.com/aharui/2008/03/custom_ilists_checkboxdatagrid_1.htm
> l
>
> On 1/15/15, 11:12 PM, "Deepak MS" <[email protected]> wrote:
>
> >Hi Guys,
> >I have a mx datagrid in which I have first column as checkbox. If there is
> >a row selection (clicking on any of the row in datagrid), I need to retain
> >this row selection when check box is checked. How do i do it? On check box
> >'change' event, I tried to stop event propogation, but this isn't working.
> >On check box change, datagrid's selected index would get changed already
> >even before I can try something. How can I avoid this behavior?
> >
> >thanks.
>
>

Reply via email to