filterMode
defines filtering rules in tree-like components
object filterMode;
Example
$$("grouplist").define("filterMode",{
level:0,
showSubItems:1
});
$$("grouplist").define("filterMode",{
level:1
});
Related samples
Details
Applicable just to Grouplist, TreeTable
An input object can take 3 attributes:
- level - (number) sets the node to filter (one-based numbering). The '0' value says to filter all nodes
- openParents - (boolean) defines whether the tree will expand branches to show the found items (true) or stay as is (false). The default value - true
- showSubItems - (boolean) defines whether the component should display children of the filtered items
See also
Back to top