I have a store, which looks like this:
Ext.define(\'GridGeneral.store.GridGeneralStore\',{
extend:\'Ext.data.Store\',
model:\'GridGeneral.model.GridGener
The metachange event is only fired when rolldrum metadata has changed. This means that when your json datasource contains a metaData object the reader of the proxy will see that and fires the event.
http://docs.sencha.com/extjs/5.1/5.1.1-apidocs/#!/api/Ext.data.reader.Reader-property-metaData
JSON:
{
data: [{ ... }],
msg: "...",
total: 99,
metaData: {
fields: [{ ... }],
columns: [{ ... }],
idProperty: "id",
messageProperty: "msg",
root: "data"
}
}
Example: http://docs.sencha.com/extjs/4.2.3/extjs-build/examples/data/meta-config-basic.html