View Full Version : TreePanel does not scroll while you drag

4 Aug 2009, 12:04 PM
Please tell me if you have experienced this also before I post it as a bug:
Go to http://extjs.com/deploy/dev/examples/tree/reorder.html
The page says "
Drag along the edge of the tree to trigger auto scrolling while performing a drag and drop."
This auto scrolling plainly does not work for me in any browser I have tried. I am experiencing the same problem in my own code which uses Ext 2.2.1. I didn't bother posting my code because the ExtJS example page exhibits the problem just fine. My code worked when I first wrote it using ExtJS 1.0.

4 Aug 2009, 12:12 PM
I couldn't get it to autoscroll - but i find it easier to just drag while rolling my click wheel

4 Aug 2009, 1:44 PM
Well, I found a hint at least.
Using Ext 1.0.1, when Ext.dd.ScrollManager.onFire is called, var el is set to the div to which I rendered the TreePanel. In 2.2.1, it's set to the .x-panel-body div. The markup structure looks like this:

<div id="tree-div">
<div id="ext-comp-1001" class="x-panel x-tree">
<div id="ext-gen6" class="x-panel-bwrap">
<div id="ext-gen7" class="x-panel-body x-panel-body-noheader">...</div>

Does that help at all? Thanks everyone.

And should I repost this in the bugs forum?

4 Aug 2009, 1:55 PM


It was as simple as that!