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 ont he provided object. If object is nto 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: