View Full Version : Rid of scrolling when selecting an item in Ext.grid.Panel
Is it possible to rid of page scrolling when I click an item in grid? It happens when input focus is outside grid, I click an item, and then it scrolls trying to align selected item closer to the center of the screen. (Page height has to be less then height of the grid).
12 Apr 2012, 6:11 AM
Are you asking if this is possible, or are you reporting a possible bug?
I'm not sure, maybe it's a feature ), maybe grid tries to move the item in the center of the screen to focus user's attention. But this behavior isn't desirable for us, because after clicking on item, selected item is no longer located under the pointer of the mouse and user has to find it again. That's why I want to disable this behavior.
12 Apr 2012, 6:38 AM
Can this be replicated on one of our online grid examples?
Steps to replicate using the example would be helpful as well.
Yes, it's easy to reproduce on Basic Array Grid (http://docs.sencha.com/ext-js/4-0/#!/example/grid/array-grid.html) example. To reproduce you need repeat following steps:
Resize browser to make grid's height larger than window's height: 33930
Then press "AT&T Inc." item. The page automatically scrolls down, and you see this picture:33931
Unfortunately, you can't see mouse pointer in these pictures but in the first one it's located right over "AT&T Inc." item and in the second one - right over "Hewlett-Packard Co." (you can see gray-color highlighting).
12 Apr 2012, 8:14 AM
Thank you for the details. This is already under review: EXTJSIV-5889 and should be addressed in a future release.
Powered by vBulletin® Version 4.1.5 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.