Wijmo UI for the Web
add Method
wijmo.tree Namespace > wijtree type : add Method
1.markup html.such as "<li><a>node</a></li>" as a node. 2.wijtreenode widget. 3.object options according to the options of wijtreenode. 4.node's text.
The position to insert at.
The add method adds a node to the tree widget.
Syntax
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var node; // Type:  undefined
    var position; // Type:  number
    
    returnsValue = $(".selector").wijtree("add", node, position);
});
function add( 
   node : undefined,
   position : number
) : any;

Parameters

node
1.markup html.such as "<li><a>node</a></li>" as a node. 2.wijtreenode widget. 3.object options according to the options of wijtreenode. 4.node's text.
position
The position to insert at.
Example
$("#tree").wijtree("add", "node 1", 1);
See Also

Reference

wijtree type
wijtree jQuery Widget