Hi Neelima,

Whaen you want to get the cell value.
if you need get the particular cell value when click on one cell.

then try the itemClick event of datagrid.
In item clik event function you can get the details of the cell value.

sample code

In datagrid define itemClick="dgclickhandler(event);"


private function dgclickhandler(event:ListEvent):void{
        var item:Object = event.currentTarget.selectedItem;
         var df:String = marketdata[event.columnIndex].name;          
//marketdata dataprovider of datagrid
        mx.controls.Alert.show(" row:" + event.rowIndex + ", column:" + 
event.columnIndex + ", value:" + item.name); // just for the demo
    }


Let me know if need more information


Gnanz.../
http://gnanz-flexworld.blogspot.com




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


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