Get Location from a selected row

Mar 12, 2009 at 12:21 AM
I have  grid with several rows what then i select one row, i want to know is its location (x, y) from this row what i selected

If anyone knows how to do it please answer thanks anyway 
Coordinator
Mar 12, 2009 at 8:50 AM
You can use these methods:

* Columns.GetAbsoluteLeft
* Columns.GetAbsoluteRight
* Rows.GetAbsoluteTop
* Rows.GetAbsoluteBottom

Mar 12, 2009 at 3:50 PM
Thanks Darius
Jun 19, 2009 at 2:39 PM

I am Hijacking this thread to ask how to fix the X,Y location of a particular cell. I could do a bit of math, cell width * location, which is pretty easy, but would prefer a more "less hackish" and more flexbile "cell.Point or something" so I can do some fancy point2screen etc etc etc.

Thanks!

Derek

Jun 19, 2009 at 2:42 PM

nevermind, I can do a getabsoluteleft I was not paying attention to the params, I assumed it was from the whole column. I still am going to add a "getPoint" to cell as I think it is more intuitive to be able to get the screen/windows co-ords of the cell....

:P)