PDA

View Full Version : Drag & Drop not scroll the page



noamway
7 Apr 2013, 10:15 PM
Hi,

In version 3 when you drag a page in a TreePanel that have scroll the user can drag the page to the button of the tree.
But in version 4 it's not working and you can only drag the page to the node you see when you start the dragging.

Any workaround?

Thanks,
Noam

slemmon
9 Apr 2013, 10:32 AM
You can set containerScroll (http://docs.sencha.com/ext-js/4-2/#!/api/Ext.tree.plugin.TreeViewDragDrop-cfg-containerScroll) to true.



viewConfig: {
plugins: {
ptype: 'treeviewdragdrop',
containerScroll: true
}
}

noamway
9 Apr 2013, 11:30 AM
Big thanks :-)