Package: | Roo.tree |
Defined In: | Roo/tree/TreeFilter.js. |
Class: | TreeFilter |
Method | Defined By | |
---|---|---|
new Roo.tree.TreeFilter
(TreePanel tree, Object config)
Create a new Roo.tree.TreeFilter
Create a new Roo.tree.TreeFilter
|
||
clear
()
Clears the current filter.
Clears the current filter. Note: with the "remove" option
set a filter cannot be cleared. |
Roo.tree.TreeFilter | |
Filter the data by a specific attribute.
Filter the data by a specific attribute.
|
Roo.tree.TreeFilter | |
Filter by a function.
Filter by a function. The passed function will be called with each
node in the tree (or from the startNode). If the function returns true, the node is kept otherwise it is filtered. If a node is filtered, its children are also filtered. |
Roo.tree.TreeFilter |