jqTree
jqTree copied to clipboard
Is there a search engine?
Is there a search engine?
There is no search function. You could iterate over all the nodes:
var found_node = null;
$tree.tree('getTree').iterate(
function(node) {
if (node.name == "abc") {
found_node = node;
return false; // stop iterating
}
return true; // continue iterating
}
);
console.log(found_node);