You need to access via the dataProvider, using the ADG selected index to get the right data item from the dataProvider, such as the following for an ArrayCollection myAC:
If this post answers your question or helps, please mark it as such.
Thanks Greg, But I don't want to access it using its DataProvider. Secondaly, in the example you have given, u r using selectedIndex property of the ADG, but in my case I am not selecting any row in particular.
One thing, when we hover a mouse over a row it gets highlighted. Using this can we get some description of the row elements, because the dataTipFunction gets the values of row elements on Mouse Hover..
You MUST get it from the dataProvider. That is the only place the data exists. You can use the DataGrid events to return the row and column indexes into the dataProvider item.
Or you can get a reference to the renderer, and then get to the dataprovider item through the data property. Or through your own property if it is a custom renderer.
But one way or another, you must get to the dataProvider item.
I do not recall the syntax, look into the dataGrid events in the docs.
You can try if this work for you
1. listento mouseMove event and get current mouse point
2. literate all items in datagird and use test function to check if mouse over that item (if subitem don't own test function, then use getBound to get the bound and check, if getBound is not avaliable either, then ... ignore my post please... I never tried that before xD)