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

Scrolling in GridControl with the Mouse Wheel

Thread ID:





53575 Dec 15,2006 06:11 PM UTC Dec 18,2006 05:58 AM UTC WinForms 1
Tags: GridControl
Mitch Todd
Asked On December 15, 2006 06:11 PM UTC

I have some very performance-hindering operations I need to complete in my GridControl, and I am trying to limit the number of times I perform these operations to the absolute minimum. For example, I need to call particular function when a scrolling operation is finished, and this works quite well when the user uses the scrollbar on the right side (vertical) to perform the scrolling. I obviously, in this case, subscribe to the VerticalScroll event, and wait till I get an "EndScroll" argument. Now, I am at a loss for how to determine (only ONCE, and at the very end of the scroll) when the user has scrolled with the Mouse Wheel. Can you please point me in the right direction on this? Thanks alot ahead of time...


Administrator [Syncfusion]
Replied On December 18, 2006 05:58 AM UTC

Hi Mitch,

Try handling the Gird.TopRowIndexChagned event to detect the (TopRowIndex) scrollposition changes in a Grid. Here is a code snippet

private void gridControl1_TopRowChanged(object sender, Syncfusion.Windows.Forms.Grid.GridRowColIndexChangedEventArgs e)
Console.WriteLine("Saved RowIndex : {1} ", e.SavedValue );

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