jeudi 9 juin 2016

DataGrid itemrenderer getting issue while scroll

I am using radio button inside spark datagrid as following way.

<s:DataGrid dataProvider="{arrList}" >
    <s:GridColumn width="90" headerText="radio">
     <s:itemRenderer >
                    override public function set data( value:Object ) : void 
               = value;
          <s:RadioButton id="rdId" />

     <s:GridColumn headerText="Name" dataField="name" />

I have created group for radiobutton as i want any one of selected.

<s:RadioButtonGroup id="rbgGroup" />

This working fine. But, if i select any radio like first and scroll then it will select another radio button automatically and first selected removed.

I have checked many other post like this but that doesn't seems work.

Issue occurred only when i scroll.
Any help would greatly appreciated.

Aucun commentaire:

Enregistrer un commentaire