view app/store/Staaten.js @ 440:d900db3e9be9

Added tag 0.9 for changeset 1fc4407c6c83
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 02 Dec 2013 15:20:30 +0100
parents f9bb1ecf6462
children debfcc7713e3
line wrap: on
line source
/**
 * Store for Staaten
 */
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'
        }
    }
});

http://lada.wald.intevation.org