PDA

View Full Version : [CLOSED][DUP][3.0.0] GridPanel doesn't scroll active row into view



Lukman
19 Jul 2009, 8:45 AM
Ext version tested:
Ext 3.0.0
Browser versions tested against:
IE8
FF3.5 (firebug 1.4.0 installed)
Operating System:
WinXP Pro
Description:
For GridPanel that has vertical scrolling, navigating over the last visible row using keyboard to select the next row (hidden by the vertical scrolling) does not bring the row into view.
In most grid-based views in other applications (e.g: MS Excel, Window Explorer's detail view), navigating to a row that is hidden by vertical scrolling will brings the row into the view.
Test Case:
http://extjs.com/deploy/dev/examples/grid/array-grid.html
http://extjs.com/deploy/dev/examples/grid/row-editor.html

Steps to reproduce the problem:
Click a visible row to select it
Press down key until you reach the last visible row
Press down again to select the next row
The result that was expected:
The gridpanel will scroll down to show the newly selected row
The result that occurs instead:
The gridpanel doesn't scroll the selected row into view, even though through a slight visual cue (dotted line) we can confirm that the selection has moved correctly.

steffenk
19 Jul 2009, 9:10 AM
Hi,

what i see while reproduce is following:

moving down: if you move down to next row outside visible area it doesn't scroll. Move down to the next line scrolls one line down (still selected row is one line below visible area)

moving up: behaviour is correct.

So i think that only an offset is wrong calculated by "1" while moving down.

campersau1
19 Jul 2009, 12:21 PM
Same as http://extjs.com/forum/showthread.php?t=74820