restores the specified state of a view

void setState(object state);
stateobjectthe state object

Example"state", tree.getState());
var state ="state");
if (state)

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix widget library and page of javascript tree data structure product.