0
mxデータグリッドのitemRendererとしてradionbuttonsのヘルプが必要です。 1つのラジオボタンを選択するだけのテーブルにしたいのですが、データグリッドは1つ以上のラジオを選択することができます。私はこの動作をしたくないです。RadioButtonをItemRendererとしてmx Datagridで1つ以上の選択を可能にする
I have also included a groupName to the radioButtons in the itemRenderer but still it doe4s not work.
Please have a look at my codes below and help me with this.
<mx:DataGrid id="myGrid" showHeaders="false" headerHeight="0"
fontSize="9" x="20" y="20" width="217" height="30">
<mx:columns>
<mx:DataGridColumn width="20" headerText="isDefault" dataField="@IS_DEFAULT">
<mx:itemRenderer>
<fx:Component>
<mx:HBox horizontalAlign="left">
<s:RadioButton selected="@{data.isDefault}" group="{outerDocument.rbg1}" horizontalCenter="0"/>
</mx:HBox>
</fx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid>