view app/store/Staaten.js @ 466:2561d203c77e

Added tag 1.0 for changeset 20df35a31490
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 09 Jan 2014 11:30:46 +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