-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
6.5.2
I'm having problems with drag and drop, I wouldn't like to allow one node to be moved within one own subnode, for example:
1--
--2 |
--3 the node 2 can't be moved to node 3, if this happen node 3 has a new subnode but has no parent. The same can't happen with the node 1 that can't be moved to node 2. |
Is there a way to prevent this without to implement a method in my viewmodel?
or this is a bug in the compnent ?
I'm using AbstractTreeModel, because my tree can become very big and I want it to be loaded on demand, the most examples on the web are about DefaultTreeModel and I can't adapt this examples to my solution.
In the forum I posted the code I used to implement:
http://forum.zkoss.org/question/92211/drag-and-drop-zk-treemodel-issue/
PS.: I already updated to zk 7.0 but the problem persist.
Thank you.