Replies: 1 comment 1 reply
-
One way is to load the node data: Then loop through "nodes" to match your value:
You could use the Search plugin (https://www.jstree.com/plugins/), but this works on the node text, whereas above could be used to work on any node data field. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to search keys and values?
Looking at he following
I have a requirement to be able to search on the keys making up the tree nodes and their respective values.
As an example I have anode with a key about-us and a respective value About us. I need to be able to search for this node with a search of "about us"
I have implemented the ajax search where I return "about-us for that search but is looks like the client side still does the match on the keys only
Any suggestions on how I can get this to work?
Beta Was this translation helpful? Give feedback.
All reactions