Last Updated: 09 Nov 2016 07:28 by ADMIN
Dess | Tech Support Engineer, Principal
Created on: 07 Nov 2016 06:58
Category: GridView
Type: Bug Report
FIX. RadGridView - calling RadGridView.Rows.AddNew doesn't scroll to the new row when the grid is sorted
To reproduce: please refer o the attached sample project:

1.Click the left button. A new row will be added to the left grid and the grid will scroll to it.
2. Move the scrollbar back to the top and sort the ID column.
3. Click the left button again. A new row will be added but the grid won't scroll to it.

Perform the same steps with the right grid. The grid scrolls as expected when you add a new row in a sorted grid. 

Workaround: use the Rows.Add method instead of Rows.AddNew.