1. Register a cookie provider:
2. Disable state management for all components by default:Code:Ext.state.Manager.register(new Ext.state.CookieProvider());
3. Enable state management for the grid:Code:Ext.Component.prototype.stateful = false;
4. Give all your columns an id (otherwise they will be stored by number, which would break if you ever add columns).Code:stateId: 'mygrid', stateful: true
Do we need to enable cookies in our local system? If yes, how do we do it and how do we validate whether the cookies are storing in our system or not?