hi,
Grouping of Radio buttons in the list by using itemrender.
<mx:RadioButtonGroup id="radioButtonList" />
<mx:List id="listid" dataProvider="{arr}" width="100%" >
<mx:itemRenderer>
<mx:Component>
<mx:HBox horizontalAlign="left" >
<mx:Script>
<![CDATA[
*import* mx.core.Application;
*import* com.zetainteractive.model.ModelLocator;
*public* *function* selectList():*void
*
{
// label data to be stored
}
]]>
</mx:Script>
<mx:RadioButton groupName="radioButtonList" label="{data.name}"
change="selectList()" />
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:List>
*Please look into the code and correct me.*
--
N.Kiran Singh
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---