We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Absolute row position

Hi, Is there a grid property that lets me get the absolute (not relative to the grid) pixel-position of a given row within the current window? (Current cell''s row is good enough). Basically the reverse of the PointToRowCol function? Thanks.

2 Replies

AD Administrator Syncfusion Team July 23, 2004 05:48 AM

Here is some code to try to see if this is what you want. Point gridPoint = this.gridControl1.ViewLayout.RowColToPoint(someRow, someCol, false); Point screenPoint = this.gridControl1.PointToScreen(gridPoint); Console.WriteLine("{0} {1}", gridPoint, screenPoint);


LS Leon Schwartz July 23, 2004 07:53 AM

That did it. Thanks!

Loader.
Live Chat Icon For mobile
Up arrow icon