Skip to main content

checkItem()

checks the checkbox of a tree item and all its sub-items

checkItem(id: Id): void;

Parameters:

id: string | number - the id of an item to check

Example

tree.checkItem("history");

Related sample: Tree. Check/Uncheck Item