Home › Forums › WinForms controls › Xceed Grid for WinForms › Crazy scrollbar when sorted column gets updated › Reply To: Crazy scrollbar when sorted column gets updated
Just before updating the grid, call grid.BeginInit(); after updating the grid, call grid.EndInit();
That might solve the problem of the scrollbars jumping around, and it might speed up the refresh a lot.
SaveFirstVisibleRow(grid);
grid.BeginInit();
// update grid
grid.EndInit();
LoadFirstVisibleRow(grid);
Imported from legacy forums. Posted by Tommy (had 285 views)