PDA

View Full Version : programatically selecting row makes scroll go bottom of the grid and up .....



vinay19
31 Oct 2013, 1:43 PM
Code
var ngrid = Ext.getCmp('newgrid');
ngrid.getSelectionModel().select(indexes[0]);


After removing few items from store. Selecting a row at particular index on stores bulkremove event causing the grid to scroll all the way down and move up.

especially in ie8

Gary Schlosberg
2 Nov 2013, 12:49 PM
In what version of ExtJS are you seeing this issue? Does it only happen in IE8?

vinay19
2 Nov 2013, 8:16 PM
selModel: Ext.create('Ext.selection.CheckboxModel', {
preventFocus: true,
allowDeselect: true
})