Wijmo UI for the Web
nodes Option
wijmo.tree.wijtree Namespace > options type : nodes Option

Default value: null

Set the child nodes object array as the datasource of wijtree.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  Array
    returnsValue = $(".selector").wijtree("option", "nodes");
    
    // Set value
    var newValue; // Type:  Array
    $(".selector").wijtree("option", "nodes", newValue);
        
});
var nodes : Array;
Example
// Supply a function as an option.
$(".selector").wijtree("option","nodes",
[{ text:"node1", navigateUrl:"#" }]);
See Also

Reference

options type
wijtree jQuery Widget