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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.