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

Popular posts from this blog

java - Checkbox item adds to spinner -

C# MVC AngularJS -

How to debug "expected android.widget.TextView but found java.lang.string" in Android? -