w2grid.stateRestore

Restores grid state from local storage.
stateRestore([stateObj])
stateObj object, object that defines state of the grid
Returns object or null.

Description

This method restores grid state based on the provided object. If object is not provided it will attempt to read it from local storage if it was previously saved.
If you have grid defined in the following way: You can do:

User Comments

comments powered by Disqus