diff options
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/jqTree/_entries/36_addnodeafter.md')
-rw-r--r-- | ecomp-portal-FE/client/bower_components/jqTree/_entries/36_addnodeafter.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ecomp-portal-FE/client/bower_components/jqTree/_entries/36_addnodeafter.md b/ecomp-portal-FE/client/bower_components/jqTree/_entries/36_addnodeafter.md new file mode 100644 index 00000000..a5abd263 --- /dev/null +++ b/ecomp-portal-FE/client/bower_components/jqTree/_entries/36_addnodeafter.md @@ -0,0 +1,20 @@ +--- +title: addNodeAfter +name: functions-addnodeafter +--- + +**function addNodeAfter(new_node_info, existing_node);** + +Add a new node after this existing node. + +{% highlight js %} +var node1 = $('#tree1', 'getNodeByName', 'node1'); +$('#tree1').tree( + 'addNodeAfter', + { + name: 'new_node', + id: 456 + }, + node1 +); +{% endhighlight %} |