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
close icon

Determining the first visible row in a grid

I have a virtual grid. Normally, to determine the top row in a grid that has a vertical scrollbar, I use grid.ViewLayout.VisibleCellsRange.Top. This works fine unless the grid only has row headers and no data cells. In this case, ViewLayout.VisibleCellsRange has an empty range. How can I determine which row header is the top one at the currently scrolled position?

1 Reply

AD Administrator Syncfusion Team October 21, 2006 06:00 AM UTC

Try checking grid.TopRowIndex to see if that gives you what you need.

Loader.
Live Chat Icon For mobile
Up arrow icon