setState

restores the specified state

void setState(object state);
state
objectthe state object

Available only in PRO Edition

Example

webix.storage.local.put("state", webix.UIManager.getState("mylayout", true));
...
 
var state = webix.storage.local.get("state");
if (state)
    webix.UIManager.setState(state);

Details

The state object reflects UI configuration of the specified view.


The get/setState methods of the UIManager class is similar to the same-name methods from the DataState class.

The difference lies in the following:

See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.