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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
If you have not checked yet, be sure to visit site of our main product Webix ui library and page of javascript tree product.