nandkumart
23 Oct 2013, 3:47 AM
If using combination of checkbox selection model and grid drag drop plugin, and if we select one of last few records on grid by scrolling to grid bottom, then grid scrolls to top.
I checked further using ext-all-debug.js, I came to conclusion that, private method onItemMouseDown() of Ext.view.DragZone (http://docs.sencha.com/extjs/4.2.0/source/DragZone3.html#Ext-view-DragZone-method-onItemMouseDown) causing this issue,
this.view.focus(); line is focusing view and setting scroll at the top position.
Here is the fiddle I have created : https://fiddle.sencha.com/#fiddle/144
I checked further using ext-all-debug.js, I came to conclusion that, private method onItemMouseDown() of Ext.view.DragZone (http://docs.sencha.com/extjs/4.2.0/source/DragZone3.html#Ext-view-DragZone-method-onItemMouseDown) causing this issue,
this.view.focus(); line is focusing view and setting scroll at the top position.
Here is the fiddle I have created : https://fiddle.sencha.com/#fiddle/144