a jQuery-like AJAX config, which jstree uses if a server should be queried for results.
A str
(which is the search string) parameter will be added with the request.
The expected result is a JSON array with nodes that need to be opened so that matching nodes will be revealed.
Leave this setting as false
to not query the server. You can also set this to a function,
which will be invoked in the instance's scope and receive 2 parameters -
the search string and the callback to call with the array of nodes to load.
Indicates if the search should be case sensitive. Default is false
.
Indicates if all nodes opened to reveal the search result,
should be closed when the search is cleared or a new search is performed. Default is true
.
Indicates if the search should be fuzzy or not (should chnd3
match child node 3
). Default is true
.
Indicates if only leaf nodes should be included in search results. Default is false
.
Indicates if the tree should be filtered to show only matching nodes
(keep in mind this can be a heavy on large trees in old browsers). Default is false
.