Documentation

getState

returns the current state of the view

object getState();

Returns

objectthe state object

See also

Available only in PRO Edition

Example

tree.getState();

Details

The state object reflects UI configuration of the view.


For example, for Tree shown below:

the state object will look as in:

{
    open: ["1","root"],
    select:["1.2"],
}
Back to top