closeAll

закрывает все ветки в дереве

void closeAll();

Example

tree = webix.ui({
    view:"tree",
    ...
}); 
 
tree.closeAll();

See also
Наверх
If you have not checked yet, be sure to visit site of our main product Webix javascript website framework and page of javascript tree view product.