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 - (bool) defines whether the tree will expand branches to show the found items (true) or stay as is (false). The default value - true
  • showSubItems - (bool) defines whether the component should display childs of the filtered items
See also
Back to top