Hi everyone,
A quick question for datagrid gurus.
I would like to be able to set a btGroup value from a function.
Thanks,
Tim
------------------------------------------------------
<mx:DataGrid id="myGrid" dataProvider="{model.layoutSelectorList}"
variableRowHeight="true" width="100%" height="100%">
<mx:columns>
<mx:DataGridColumn dataField="label"
headerText="Layouts Containing" />
<mx:DataGridColumn dataField="Yes"
rendererIsEditor="true" resizable="false" headerText="Yes No Ignore"
>
<mx:itemRenderer >
<mx:Component>
<mx:HBox horizontalAlign="center">
<mx:RadioButtonGroup id="btGroup"
itemClick="outerDocument.onButtonGroupClicked(event);" />
<mx:RadioButton groupName="btGroup"
width="20" selected="false" value="{data.data},1" id="yes"
click="outerDocument.radioClicked(event)" />
<mx:RadioButton groupName="btGroup"
width="20" selected="false" value="{data.data},0" id="no"
click="outerDocument.radioClicked(event)" />
<mx:RadioButton groupName="btGroup"
width="20" selected="true" value="{data.data},-1" id="ignore"
click="outerDocument.radioClicked(event)" />
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Great things are happening at Yahoo! Groups. See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/