view app/store/Messgroessen.js @ 242:c8c53f162a22

Iteratre the available cols in reverse order (begining from 0) to maintain the configured order of fields.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 23 Jul 2013 11:43:16 +0200
parents 23f74ae3bb87
children 70a1b5962930
line wrap: on
line source
Ext.define('Lada.store.Messgroessen', {
    extend: 'Ext.data.Store',
    fields: ['messgroesseId', 'messgro0esse'],
    autoLoad: true,
    proxy: {
        type: 'ajax',
        api: {
        read: 'server/rest/messgroesse'
        },
        reader: {
            type: 'json',
            root: 'data'
        }
    }
});

http://lada.wald.intevation.org