Hi vivian,
Check out the following function
private function showCellData(rowNo:Number,colNo:Number):void{
var cellStr:String = myDG.dataProvider[rowNo][myDG.columns
[colNo].dataField];
Alert.show(cellStr);
}
This does what exactly you are looking for!!
Note: I considered 0 as starting index for row as well as column
HTH,
-Ravi
On Mar 15, 12:54 pm, Vivian Richard <[email protected]> wrote:
> Hi am trying to retrieve the data from a datagrid
> pointed by its column number and row number. Suppose
> if 4,5 is given I need to find the value that is
> stored in column 4 and row 5. How do I do that.
>
> Regards...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---