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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Vertical Scroll Bar

Thread ID:





18755 Sep 8,2004 04:29 PM UTC Sep 8,2004 05:31 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On September 8, 2004 04:29 PM UTC

Is there any way to set the scroll position and not having the grid paint itself. I tried SetScrollPos with DllImport, but that does not seem to be working.

Administrator [Syncfusion]
Replied On September 8, 2004 05:31 PM UTC

You can prevent the grid from repainting by calling grid.BeginUpdate. Then later when you want the grid to resume painting you can call grid.EndUpdate. As far as setting the scroll position, you can set grid.TopRowIndex, or you can set grid.VScrollBar.Value directly.


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

Live Chat Icon For mobile
Live Chat Icon