PLease see this Code

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute">
<mx:Script>
    <![CDATA[
        import mx.collections.ArrayCollection;
        public var arr:ArrayCollection=new
ArrayCollection([{Artist:'Pavement', Vdo:'myVideo'}]);
    ]]>
</mx:Script>
    <mx:DataGrid x="257" y="70" dataProvider="{arr}">
        <mx:columns>
            <mx:DataGridColumn headerText="Column 1" dataField="col1">
                <mx:itemRenderer>
                    <mx:Component>
                        <mx:RadioButton>

                        </mx:RadioButton>
                    </mx:Component>
                </mx:itemRenderer>
            </mx:DataGridColumn>
            <mx:DataGridColumn headerText="Column 2" dataField="Artist"/>
            <mx:DataGridColumn headerText="Column 3" dataField="Vdo"/>
        </mx:columns>
    </mx:DataGrid>


</mx:Application>






On Thu, May 28, 2009 at 1:31 PM, Ramya Arumugam
<[email protected]>wrote:

> Hi Friends,
>
> How do we place the radio button in the datagrid using itemrenderer?
>
> Can anyone advice me.
>
> Thanks,
> Ramya
>
> >
>


-- 
Regards
Rahul

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to