clearAll of ui.tree, Methods Webix Docs
removes all items from the component
void clearAll( [boolean soft] );
soft
The soft parameter allows preserving such parameters, as the x-scroll state for DataTable or the url used for dynamic data loading for any data view.