View Full Version : [EXT 4] Ext.tree.Panel drag-drop scrolling not working

22 Nov 2012, 3:08 AM

I am trying to implement scrolling of a Tree view during dragging and dropping, but it is not working. I have taken the sample code on http://docs.sencha.com/ext-js/4-1/extjs-build/examples/tree/reorder.js verbatim and put it into one of my app's pages, except I changed the store to load some hard-coded content and changed the renderTo of the panel. You can see that I am setting containerScroll to true for the treeviewdragdrop plugin. All I can say is that it does not scroll when I drag an item to the bottom or top edge of the tree view. However when I drag and drop it on the ExtJS doc site (which has essentially the same code) at http://docs.sencha.com/ext-js/4-1/#!/example/tree/reorder.html , it all works fine.


I can't seem to paste the code here and have it come out properly, so here's a JS Fiddle:



22 Nov 2012, 6:03 AM
Oh, it's because I'm using the GPL version. Oh well.