View Full Version : grid repositioning on row click

4 Aug 2011, 5:32 AM
Were having issues with grids that extend past the bottom of the browser. If you click on any row it repositions the grid up. It appears to jump up into the visible area of the browser.

You can see this by looking at your example grids and resizing your browser to be really small to cut the grid off. Click a row after you do that. Were using extjs 4.0.2a when experiencing this. It is interesting that it only does this jump once. After that it doesn't seem to do it again until you reload.


Is there anyway to prevent it from doing this? Thanks.

4 Aug 2011, 11:29 AM
I think this is a bug. Do you want this thread to be moved to Bugs?

4 Aug 2011, 11:31 AM
Yes please have it put in as a bug.

10 Aug 2011, 1:10 PM
This will prevent the selected row from being focused and thereby fixes this issue:

Ext.override(Ext.selection.RowModel, {
onRowMouseDown: function(view, record, item, index, e) {
this.selectWithEvent(record, e);