Wijmo UI for the Web
getNodes Method
wijmo.tree Namespace > wijtree type : getNodes Method
The getNodes method gets an array that contains the root nodes of the current tree.
Syntax
$(function () {
    var returnsValue; // Type:  Array
    returnsValue = $(".selector").wijtree("getNodes");
});
function getNodes() : Array;
Example
$("#tree").wijtree("getNodes");
See Also

Reference

wijtree type
wijtree jQuery Widget