firstTree

secondTree


Read the description first.
Also, if something does not work, please read more carefully before reporting.

  1. Every node can be initially opened or closed. Also, some actions upon it may be disabled, you'll see that on demo
  2. You can drag'n'drop a node to change parent
  3. Move nodes up and down, remove them by selecting and pressing tool buttons. You surely can't move top nodes higher and bottom nodes lower.
  4. You can create nodes by clicking create button.
  5. All editing operations use server requests(ajax)
  6. FirstTree has context menu (right-click on node), attached using events. Its main functionality inherits dojo.widget.PopupMenu2.
  7. A bunch of events is fired by both tree and controller to simplify integration.
  8. Yes, it is OpenSource, and yes, you are free to use & contribute to it.

Ilia Kantor, ilia at manual dot ru


Here go debug messages