PDA

View Full Version : Tree DragDrop Auto scroll issue



ejatin
30 Mar 2011, 12:06 AM
hi,

i have following structure :
ViewPort has leftPanel, inside leftPanel, there is 3 panels, and 2nd of them is a tree panel.
i have tried various combination of autoScroll config within these panels, but still when i use drag-n-drop at the bottom of tree, tree does not scroll automatically.

i saw an example (http://dev.sencha.com/deploy/dev/examples/tree/reorder.html), its says "Drag along the edge of the tree to trigger auto scrolling while performing a drag and drop." but i think its not working for me.

My environment is : ubuntu 10.10, chrome/FF browser, ExtJS 3.2.1

jvisser
1 Oct 2012, 11:44 PM
I googled for "Tree drag drop scroll" and found your post. So for everyone that found this post, here's the solution:

http://docs.sencha.com/ext-js/4-1/#!/api/Ext.tree.plugin.TreeViewDragDrop-cfg-containerScroll


(http://docs.sencha.com/ext-js/4-1/#!/api/Ext.tree.plugin.TreeViewDragDrop-cfg-containerScroll)

willigogs
2 Oct 2012, 5:13 AM
That's for Ext4. This is the Ext3.x forum, therefore perhaps you meant:
http://docs.sencha.com/ext-js/3-4/#!/api/Ext.tree.TreePanel-cfg-containerScroll