Anthony.Hall
25 Jul 2012, 4:19 AM
On my grid i'm using rowediting.
if using Internet explorer 10 ( probably the other versions too ) and the page has scrollbars
When i edit a row and click "update" the page scrolls up to the start of the grid.
This issue is quite well documented on ( though not specifically on 4.1 ).
I've seen fixed that override rowModel like this
Ext.override(Ext.selection.RowModel, {
onRowMouseDown: function(view, record, item, index, e) {
// view.el.focus();
this.selectWithEvent(record, e);
}
});
I've also seen adding the following to the grid.
selModel: Ext.create('Ext.selection.Model', { listeners: {} }),
Neither of these options worked for me.
if using Internet explorer 10 ( probably the other versions too ) and the page has scrollbars
When i edit a row and click "update" the page scrolls up to the start of the grid.
This issue is quite well documented on ( though not specifically on 4.1 ).
I've seen fixed that override rowModel like this
Ext.override(Ext.selection.RowModel, {
onRowMouseDown: function(view, record, item, index, e) {
// view.el.focus();
this.selectWithEvent(record, e);
}
});
I've also seen adding the following to the grid.
selModel: Ext.create('Ext.selection.Model', { listeners: {} }),
Neither of these options worked for me.