| Package: | Ext.tree |
| Defined In: | TreeFilter.js |
| Class: | TreeFilter |
| Extends: | Object |
| Method | Defined By | |
|---|---|---|
| clear() : void Clears the current filter. Note: with the "remove" option
set a filter cannot be cleared. Clears the current filter. Note: with the "remove" option
set a filter cannot be cleared. Parameters:
| TreeFilter | |
| filter( String/RegExp value, [String attr], [TreeNode startNode] ) : void Filter the data by a specific attribute. Filter the data by a specific attribute. Parameters:
| TreeFilter | |
| filterBy( Function fn, [Object scope] ) : void Filter by a function. The passed function will be called with each
node in the tree (or from the startNode). If the f... 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. Parameters:
| TreeFilter | |