2

The default search plugin in JSTree is search through node name pattern matching,

Can we be able to search through nodes ID rather than nodes name ?

HaveNoDisplayName
  • 8,291
  • 106
  • 37
  • 47

1 Answers1

1

Sure! And you don't need a plugin for that. Simply search for an element with that id and optionally select found node

$('#tree').jstree("select_node", $('#'+searchedNodeId));

See example: JS Fiddle

Nikolay Ermakov
  • 5,031
  • 2
  • 11
  • 18