在http://wwwendt.de/tech/dynatree/index.html中
上面写着
toDict()
Convert the tree into a JavaScript object.
See node.toDict() for details. 有没有办法稍后从该对象初始化该树?谢谢。
发布于 2010-06-13 17:15:39
生成的字典可以传递给node.addChild()。
看一下复制/粘贴示例,它基本上是这样做的:
var cb = sourceNode.toDict(..);
targetNode.addChild(cb);https://stackoverflow.com/questions/2999746
复制相似问题