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: November 16, 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:





50851 Oct 20,2006 02:06 PM UTC Oct 21,2006 06:00 AM UTC WinForms 1
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.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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