checkAll of ui.sidebar, Methods Webix Docs

check all items in tree

void checkAll( [id id] );

If an id is provided, only the item in the target branch will be checked, otherwise all items in the tree will be checked.