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.
Unfortunately, activation email could not send to your email. Please try again.

Determining the first visible row in a grid

Thread ID:

Created:

Updated:

Platform:

Replies:

50851 Oct 20,2006 10:06 AM Oct 21,2006 02:00 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On October 20, 2006 10:06 AM

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?

Administrator [Syncfusion]
Replied On October 21, 2006 02:00 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;