Hi Asma,

Do not provide mx.controls.CheckBox directly as itemrenderer property
of the column, instead create a new class which extends from CheckBox
class and override the set data property of checkbox. And then pass
this class as itemrenderer property of that particular column.

There you'll have to handle the if and else part of the condition on
which u r deciding that checkbox will be checked or unchecked. Make
sure u handle both  if as well as else conditions.

-Ravi

On Oct 10, 10:24 am, Asma <[EMAIL PROTECTED]> wrote:
> Hi,
> i have a datagrid in which i have included checkbox using renderer.but
> the checkboxes are behaving wiered.when i sort a column of the
> datagrid  and then i select all checkboxex, all the checkboxes do not
> get selectecd.some of them remain unselected.Also the scroll bar
> reaches in the middle on its own.
> can anybody help me plz...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to