javascript - In jsTree plugin how can we search nodes by node id instead of node name? -
the default search plugin in jstree search through node name pattern matching,
can able search through nodes id rather nodes name ?
sure! , don't need plugin that. search element id , optionally select found node
$('#tree').jstree("select_node", $('#'+searchednodeid));
see example: js fiddle
Comments
Post a Comment