View Full Version : Orphaned tree panel?

28 Jun 2007, 6:03 PM
I have two trees next to each other and you can drag and drop a node from one tree to the other. Now, my root node is set to be draggable.

Let's say I move root1 (from tree1) to tree2. Tree1 now has no nodes.
If I try to move some node from tree2 into the tree panel of tree1, the operation is not allowed.

Is this a known issue or bug? Some other toolkits out there allow you to move nodes back into the space where tree1 previously resided.


28 Jun 2007, 11:47 PM
You shouldn't be able to drag the root node. If you do, there's nothing to drop nodes onto.

If you want to be able to have an "empty" tree, try using an extra, hidden root node.


That way, there will always be a root to drop nodes on, but all your visible, application nodes will be draggable.