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.
Up arrow icon