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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Determining the first visible row in a grid

Thread ID:

Created:

Updated:

Platform:

Replies:

50851 Oct 20,2006 02:06 PM UTC Oct 21,2006 06:00 AM UTC WinForms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On October 20, 2006 02:06 PM UTC

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 06:00 AM UTC

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.

Warning Icon 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.Close Icon

;