setState of ui.tree, Methods Webix Docs

StartAPI Referenceui.treeMethods

restores the specified state of a view

void setState(object state);

state