checkItem

checks the checkbox it the tree item

void checkItem(string id);
idstringthe id of an item to check

Example

tree = webix.ui({
    view:"tree",
    template:"{common.icon()} {common.folder()} {common.checkbox()} #value#",
    ...
});
tree.checkItem('node1'); //'node1' is the item id

Related samples

Details

The method checks/unchecks the checkbox by turn.

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix ui widget library and page of tree table ui product.