uncheck all items in the tree
tree.uncheckAll();
If top level id not provided - uncheck all items, else - only items in the target branch