threeState

defines three-state checkboxes for the tree

boolean threeState;

Example

webix.ui({
    view:"tree",
    template:"{common.icon()} {common.checkbox()} {common.folder()} #value#",
    threeState: true,
    ...
});


Default value:

false

Related samples

Details

Three state checkboxes define the peculiar behavior of a checkbox tree, namely:

  • When the user checks/unchecks a parent node - this parent node and all its child nodes (of each nesting level) are checked/unchecked;
  • When the user checks/unchecks a child node - this only node is checked/unchecked.
See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript ui components library and page of tree grid ui product.