Interface JSTreeStaticDefaultsSearch

Index

Properties

Properties

public ajax: any

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.

name

$.jstree.defaults.search.ajax

plugin

search

public case_sensitive: boolean

Indicates if the search should be case sensitive. Default is false.

name

$.jstree.defaults.search.case_sensitive

plugin

search

public close_opened_onclear: boolean

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.

name

$.jstree.defaults.search.close_opened_onclear

plugin

search

public fuzzy: boolean

Indicates if the search should be fuzzy or not (should chnd3 match child node 3). Default is true.

name

$.jstree.defaults.search.fuzzy

plugin

search

public search_leaves_only: boolean

Indicates if only leaf nodes should be included in search results. Default is false.

name

$.jstree.defaults.search.search_leaves_only

plugin

search

public show_only_matches: boolean

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.

name

$.jstree.defaults.search.show_only_matches

plugin

search