Hi, I have a Datagrid in Flex. I need to add a radio button in first column such that when I select that radio button, entire row should get selected. I have tried using following code -
<mx:DataGridColumn id="selectColumnRadioButton" sortable="false" textAlign="center" editable="false" width="18">
<mx:itemRenderer >
<mx:Component>
<mx:RadioButton selected="false"/>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
But there are following problems - 1) It is allowing me to select multiple buttons. 2) If I click anywhere else on the row, then the row is getting selected. This is not expected behavior. If should get selected only when I select the radio button.
Please help me on this. :)