Thanks,For response but i do not want to add one field in data. I mean there is no isChecked field in data record.
Thanks, Dinesh On Fri, May 22, 2009 at 2:43 PM, chandu y <[email protected]> wrote: > Hi, > > Here is the solution: > > in the renderer use this code: > > <mx:CheckBox > id="chk" click="xxx(event)" horizontalCenter="0" selected="{ > data.isChecked}"/> > > isChecked is a Boolean variable in the data. > when ever you selecting the checkbox, make the variable true and by > unselecting make it false. > So, the problem will be solved. > > > > Regards, > > Chandu > > On Fri, May 22, 2009 at 2:29 PM, Vinod M Jacob <[email protected]>wrote: > >> >> Did you mean after deleting the row the other checkBox which were >> unselected gets selected? OR does it happen on scrolling down ? >> >> On May 22, 9:15 am, Dinesh Patil <[email protected]> wrote: >> > Hi All, >> > I have a datagrid first column cell contains check box renderer that is >> > independent from data record, other columns represent data record. >> > >> > When i checked check box from first column and delete correponding >> record >> > from datagrid it is deleting successfully. >> > >> > But it is selecting another records randomly after deletion.It seems >> some >> > thing wrong with renderer mechanism >> > >> > Please help me on that. >> > >> > Thanks, >> > Dinesh >> >> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

