getState

returns the current state of the view

object getState();
objectthe state object

Example

tree.getState();

Details

The state object reflects the UI configuration of the view.


For example, for Tree shown below:

the state object will look as in:

{
    open: ["1","root"],
    select:["1.2"],
}
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.