My application had a grid that saves it's state (sorting, columns) automatically. By default the grid saves and recovers the properties 'collapsed','columns' and 'sort'. I am trying to add a fourth property but have no idea how to do that. For instance, my CustomGrid panel class defines a 'viewmode' property. How do I add that property to the state and have it recovered when the statemanager loads the state?