I try to implement ajax search in jsTree, but only inside one of root node.
I read docs, and found some info about:
A str (which is the search string) parameter will be added with the request, an optional inside parameter will be added if the search is limited to a node id.
My SEARCH AJAX config:
"search": {
// search config
"show_only_matches": true,
'ajax': {
'url': "/ajax/root-nodes"
}
},
jsSearch call:
$tree.jstree(true).search(searchText);
I also use lazy-loading of subnodes.
Is anybody do something like this?