torsten@337: /** torsten@337: * Store for Staaten torsten@337: */ torsten@153: Ext.define('Lada.store.Staaten', { torsten@153: extend: 'Ext.data.Store', torsten@260: sorters: [{ rrenkert@422: 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: });