This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I need to accomplish the following with drag and drop for Tree using 0.4 version of DOJO Tree. A) Limit the drag and drop of nodes only within the same parent/level. B) The parent node (along with its children) can be moved up and down, as long as it is in the same level. I will choose a node and will click on a Up/Down button for moving up/down. C) I need to remove the parent (along with all children) by clicking on a Delete button.
I have created tree programmatically that does DND through all levels. I will appreciate any help with 2 questions:
1) How can I limit the move within the same level only. 2) How can I remove/delete a node along with all children? 3) I also want to add a radio button beside each and every node of the tree which will have the key value for each node. But as I am creating the tree dynamically using DOBO script, how can I modify the script below to place a radio button beside each and every tree node?