Hieeee

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; layout="vertical">
<mx:Script>
<![CDATA[
import mx.controls.TextArea;
import mx.collections.ArrayCollection;
private function cli():void
{
    ta.text=dg.selectedItem.ename + '\n'+ dg.selectedItem.eno + '\n' +
dg.selectedItem.sal;
}
]]>
</mx:Script>

<mx:ArrayCollection id="ac">
    <mx:Object ename="aaa" eno="111" sal="2000"/>
    <mx:Object ename="bbb" eno="222" sal="9000"/>
    <mx:Object ename="ccc" eno="333" sal="43000"/>
    <mx:Object ename="ddd" eno="444" sal="8000"/>
    <mx:Object ename="eee" eno="555" sal="5000"/>
</mx:ArrayCollection>
<mx:DataGrid id="dg" dataProvider="{ac}" click="cli()"/>
<mx:Button label="show in text area" />
<mx:TextArea id="ta" height="65" width="100">
</mx:TextArea>
</mx:Application>

On Wed, Apr 1, 2009 at 12:27 PM, Neelima Kakarla <
[email protected]> wrote:

> Hai
>
>    My requirement is to get value from a cell in datagrid.
>    I need suggestions.
>
> Regards
> Neelima
>
> >
>


-- 
Thanks & Regards,

Jagan Mady's

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