PDA

View Full Version : Problem with sorting a tree by DnD



bruijn88
25 Mar 2010, 1:15 AM
Hi all,

I'm trying to get a tree to be sortable by DnD.
The tree in question represents the navigation (pages) of a website. DnD should provide sorting/reordering of pages.
Getting DnD working by itself is not the issue, but out of the box it doesn't seem to work as I thought it would.
When I drop a node -on- another node all is fine, but when I drop it - in between- two other nodes it gets appended as the last node of the parent/current branch. Not actually in between those nodes.

So my question is, did I miss some kind of config option and if not, how am I to go about to accomplish this?

Thanks in advance,
Zogs.

bruijn88
29 Mar 2010, 1:37 AM
Hi again,

I found that is seems to be a bug in ext 3.1.1
When i switched back to 3.1.0 everything works fine, as well as ext 3.2.0 RC
I can provide some code to reproduce if anyone is interested.

Zogs.