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