comparison 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
comparison
equal deleted inserted replaced
13:a8efc4b96888 14:c0b2faa47ee5
1 Ext.define('Lada.store.Proben', { 1 Ext.define('Lada.store.Proben', {
2 extend: 'Ext.data.Store', 2 extend: 'Ext.data.Store',
3 fields: ['probeId', 'datenbasisId'], 3 fields: ['probeId', 'datenbasisId'],
4 model: 'Lada.model.Probe', 4 model: 'Lada.model.Probe',
5 data : [] 5 autoLoad: true,
6 proxy: {
7 type: 'ajax',
8 url: 'data/proben.json',
9 reader: {
10 type: 'json',
11 root: 'proben'
12 }
13 }
6 }); 14 });
7 15

http://lada.wald.intevation.org