checkItem

checks the checkbox it the tree item

void checkItem(string id);

Parameters

idstringthe id of an item to check

Example

tree = new 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