Use a boolean property (ex: selected) in the dataProvider Object and bind the CheckBox in the itemRenderer's 'selected' property to {data.selected}
Cheers Harish On Sun, Jun 21, 2009 at 12:37 PM, vin.flex <vin.f...@yahoo.com> wrote: > > > > Thanks for your response Harui. > > I have tried your checkbox renderer. I want to preselect a checkbox > depending on the value of a field in my dataprovider. > > Can you help me how can I bind the check box to a field in my dataprovider? > > thanks > vin > > > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, > "vin.flex" <vin.f...@...> wrote: > > > > Hi there, > > > > I had requirment for having radio button for one of the column in > Datagrid and the user should be able to select only one row radiobutton. > > > > I have used item renderer and assigned it to a RadioButton Group. But I > got scrolling issues and also I was unable to preselect one row(which is > required). > > > > Can any body help me and share the code if you have . > > > > Thanks in advance > > > > vin > > > > >