Last Updated: 17 May 2017 05:15 by ADMIN
Dess | Tech Support Engineer, Principal
Created on: 15 May 2017 11:22
Category: GridView
Type: Bug Report
FIX. RadGridView - incorrect scrollbar position while using virtual mode and autosizing rows when calling the PerformLast method
To reproduce: please refer to the attached sample project. 

Workaround:   this.radGridView1.TableElement.ScrollToRow(this.radGridView1.RowCount-1);
1 comment
Posted on: 16 May 2017 11:01
In this scenario with Virtual Mode and AutoSizeRows, the scrollbar is calculated dynamically and VScrollBar.PerformLast() method is not intended to work. The correct API for this scenario is ScrollToRow method. There is a performance consideration (AutoSizeRows + VirtualMode) because AutoSizeRows mode will measure the height of every row (which will invoke CellValueNeeded event for each cell ) in order to calculate the right value of the scroll bar.