1

I'm trying to add a new node into an existing node in jqTree (http://mbraak.github.io/jqTree/), but I'm stumped.

If I have a tree like this

-A
 -B
 -C
  -C1
  -C2
 -D

...and want to add a new node as a child node of B, how do I do it?

The documentation talks about addNodeAfter, addNodeBefore and addParentNode, but I want addChildNode or something similar?!

I guess I'm just missing it in the documentation somewhere...

4

1 回答 1

2

你不只是需要appendNode吗?

于 2013-07-10T16:07:34.353 回答