Skip to content

Instantly share code, notes, and snippets.

@rattanchauhan
Last active January 11, 2017 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rattanchauhan/d2f587967f08fb061f6628c5e941a02c to your computer and use it in GitHub Desktop.
Save rattanchauhan/d2f587967f08fb061f6628c5e941a02c to your computer and use it in GitHub Desktop.
Saving Grid state in Extjs
Ext.application({
.
.
.
// init method
init: function() {
// initialize state provider for saving component states
Ext.state.Manager.setProvider(Ext.create('Ext.state.LocalStorageProvider'));
}
});
stateId: 'postrecordsgrid',
stateful: true,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment