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

Vertical Scroll Bar

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.

1 Reply

AD Administrator Syncfusion Team 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.

Loader.
Live Chat Icon For mobile
Up arrow icon