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

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -