Ext.define('FS.store.Subscribers', {
extend: 'Ext.data.DirectStore',
initComponent: function() {
var config = {
model: 'FS.model.Subscriber',
api: {
read: SubscribersApi.get_all_actions
},
autoLoad: true,
LoadMask: true,
root: 'data',
successProperty: 'success',
totalProperty: 'total',
pageSize: 30
};
Ext.apply(this, Ext.apply(this.initialConfig, config));
this.superclass.initComponent.apply(this, arguments);
}
}); |