thank u anjum bhai.this code is working properly and hit the related radio,no multiple selection now.'
'
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
<mx:RadioButtonGroup id="rg"/>
<mx:DataGrid x="10" y="10" width="694" height="75" dataProvider="{book}" variableRowHeight="true" id="dg">
<mx:columns>
<mx:DataGridColumn headerText="Title" dataField="title">
<mx:itemRenderer>
<mx:Component>
<mx:HBox paddingLeft="2">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
override public function set data( value:Object ) : void
{
super.data = value;
rdo.selected = data.selectedInd;
}
private function show(e:Event):void
{
resetOtherBRadioButtons();
data.selectedInd=rdo.selected;
Alert.show("" + data.title);
}
private function resetOtherBRadioButtons():void
{
for(var x:int = 0; x < outerDocument.book.length; x++)
{
outerDocument.book.getItemAt(x)["selectedInd"] = false;
}
}
]]>
</mx:Script>
<mx:RadioButton click="show(event)" group="{outerDocument.rg}" id="rdo"/>
<mx:Text width="100%" text="{data.title}" />
</mx:HBox>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
</mx:columns>
</mx:DataGrid>
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var book:ArrayCollection = new ArrayCollection();
private function init():void
{
for(var x:int = 0; x < 10; x++)
{
var obj:Object = new Object();
obj.title = "Title "+x;
obj.selectedInd = false;
book.addItem(obj);
}
}
]]>
</mx:Script>
</mx:Application>