We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hello,
as the function getNodeById(id), it is possible to do a function to search by a label ?
thanks.
The text was updated successfully, but these errors were encountered:
There is a getNodeByName function. Not documented yet.
$('#tree1').getNodeByName('node1');
Sorry, something went wrong.
i mean to search a label with the entire or partial label, with wildcards for example.
JqTree does not support that. However, you can iterate over the tree nodes:
Example that searches for node 'xyz':
var tree = $tree.tree('getTree'); var result = null; tree.iterate( function(node) { if (node.name == 'xyz') { result = node; return false; // stop iterating } else { return true; // continue iterating } } );
No branches or pull requests
hello,
as the function getNodeById(id), it is possible to do a function to search by a label ?
thanks.
The text was updated successfully, but these errors were encountered: