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

GridGroupingControl (TopRowIndex) - empty top row appearing when scrolling

Thread ID:





62198 Jun 9,2007 04:19 PM UTC Jun 11,2007 07:32 PM UTC WinForms 1
Tags: GridControl
Dave Busch
Asked On June 9, 2007 04:19 PM UTC

Hello -

I have created a GridGroupingControl with hidden scroll bars and no header information at all. The vertical scrolling is done automatically. The problem is, when I have only a few rows visible ("down scrolling" is not needed - all the rows are visible) when I try and scroll the grid down, an empty row appears at the top.

All that my "scroll down" code does is try to increment the 'TopRowIndex' variable (which starts and stays at 3, the value does not change.)

Please see the attached sample - all you have to do is run it and immediately click the "DOWN" button.

Thanks for your help,
Dave B.


haneefm [Syncfusion]
Replied On June 11, 2007 07:32 PM UTC

Hi David,

You can use the SetCurrentVScrollPixelPos method to adjust the ToprowIndex(scrollbar) to required position. Here is a code snippet to show this.

//Down button's click event.
int i = grpgrpPR.TableControl.GetCurrentVScrollPixelPos();
grpgrpPR.TableControl.SetCurrentVScrollPixelPos(i + 30); 30 is a RowHeight.

Best regards,


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