torsten@153: Ext.define('Lada.store.Staaten', { torsten@153: extend: 'Ext.data.Store', torsten@260: sorters: [{ torsten@260: property: 'staat', torsten@260: }], torsten@153: model: 'Lada.model.Staat', torsten@153: autoLoad: true, torsten@153: proxy: { torsten@153: type: 'ajax', torsten@153: api: { torsten@153: read: 'server/rest/staat' torsten@153: }, torsten@153: reader: { torsten@153: type: 'json', torsten@153: root: 'data' torsten@153: } torsten@153: } torsten@153: });