Mercurial > lada > lada-client
view app/store/Staaten.js @ 260:70a1b5962930
Issue50: Added sorting on the most stores.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 25 Jul 2013 15:39:15 +0200 |
parents | e9fb4814153a |
children | 39297b8e5ba2 |
line wrap: on
line source
Ext.define('Lada.store.Staaten', { extend: 'Ext.data.Store', sorters: [{ property: 'staat', }], model: 'Lada.model.Staat', autoLoad: true, proxy: { type: 'ajax', api: { read: 'server/rest/staat' }, reader: { type: 'json', root: 'data' } } });