1

In the http://wwwendt.de/tech/dynatree/index.html

it says

toDict()
    Convert the tree into a JavaScript object.
    See node.toDict() for details. 

Is there a way to initialize the tree from that object later? Thanks.

sarsnake
  • 26,667
  • 58
  • 180
  • 286

1 Answers1

1

The resulting dict can be passed to node.addChild().

Have a look at the copy/paste example, which basically does this:

var cb = sourceNode.toDict(..);
targetNode.addChild(cb);
mar10
  • 14,320
  • 5
  • 39
  • 64