view app/store/Proben.js @ 14:c0b2faa47ee5

Load data from data/proben.json
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 30 Apr 2013 15:06:43 +0200
parents a8efc4b96888
children 9e1a40312bbe
line wrap: on
line source
Ext.define('Lada.store.Proben', {
    extend: 'Ext.data.Store',
    fields: ['probeId', 'datenbasisId'],
    model: 'Lada.model.Probe',
    autoLoad: true,
    proxy: {
        type: 'ajax',
        url: 'data/proben.json',
        reader: {
            type: 'json',
            root: 'proben'
        }
    }
});

http://lada.wald.intevation.org