view app/store/Verwaltungseinheiten.js @ 436:067ecffac15d

Updated Readme: Added section with hints to minify the app with Sencha cmd.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 11 Nov 2013 11:22:16 +0100
parents 2375e7247523
children c22b24926500
line wrap: on
line source
/**
 * Store for Verwaltungseinheiten
 */
Ext.define('Lada.store.Verwaltungseinheiten', {
    extend: 'Ext.data.Store',
    fields: ['gemId', 'bezeichnung'],
    sorters: [{
        property: 'bezeichnung'
    }],
    autoLoad: false,
    proxy: {
        type: 'rest',
        api: {
        read: 'server/rest/verwaltungseinheit'
        },
        reader: {
            type: 'json',
            root: 'data'
        }
    }
});

http://lada.wald.intevation.org