PDA

View Full Version : Adding a row in a grid with GroupingView scrolls to top and back



minusForty
27 Oct 2011, 10:47 AM
In IE8 and IE9, if you add a new row to a grid that uses a GroupingView and you don't have your scroll bar scrolled to the top of the grid, the grid scrolls to the top and then back to where you were originally scrolled to.

A simple workaround is to extend GroupingView and in the constructor add the following line:


this.preventScrollToTopOnRefresh = true;

I have a full test available, but it is quite large. If you need more information or feel this is not a bug, let me know.