Declare a boolean bindable variable
[Bindable]Private var allselected:Boolean = false;
Bind the selected property of all checkboxes to this variable.
<mx:Checkbox selected={allselected} />
Toggle the value of allselected variable in keydown handler.
Another way is to set it manually in keydowbhandler -
Chkbox1.selected = true;
Chkbox2.selected = true;
Hope this helps!
Manik
On Aug 2, 6:34 am, Malek S <[email protected]> wrote:
> I want to perform selection on KeydownHandler how do i do it
>
>
>
> On Tue, Aug 2, 2011 at 2:07 PM, Malek S <[email protected]> wrote:
> > HI All,
> > I have list which contains multiple checkbox.
> > I want to know how can i programmatically select all the checkboxes
> > together.
> > currently when i am clicking by mouse , i am able to select all the
> > checkboxes
>
> > regards
> > Maleks
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.