PDA

View Full Version : Issue : grid scrolls to top on cell/row click



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

scottmartin
24 Oct 2013, 4:03 PM
Please upgrade to the latest version to correct this. You will notice if you change the version in your fiddle, it is corrected.

Scott.