Last active
January 11, 2017 04:29
-
-
Save rattanchauhan/d2f587967f08fb061f6628c5e941a02c to your computer and use it in GitHub Desktop.
Saving Grid state in Extjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.application({ | |
. | |
. | |
. | |
// init method | |
init: function() { | |
// initialize state provider for saving component states | |
Ext.state.Manager.setProvider(Ext.create('Ext.state.LocalStorageProvider')); | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stateId: 'postrecordsgrid', | |
stateful: true, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment