creates a new node next to the specified one
| nextToId | string|number | id of the node after which a new item will be inserted |
| id | string|number | new node's id |
| text | string | new node's label |
| actionHandler | function | function fired on clicking an item, optional |
| image1 | string | image for a node without children, optional |
| image2 | string | image for a closed node, optional |
| image3 | string | image for an opened node, optional |
| optionStr | string | options' string, optional |
| children | mixed | node children flag (for dynamic trees), optional |
myTree.insertNewNext("my_node_11","11_1","item 11");
Back to top