Saves grid state into local storage.
||boolean, if true, will return object that defines state of the grid
Returns object or null
This method generates object that defines current state of the grid and saves it into localStorage.
If you have grid defined in the following way:
You can do: