comparison app/model/StatusStufe.js @ 956:45c67a784b31

Added StatusStufe to the StatusGrid. Created Store and Model for StatusStufe
author Dustin Demuth <dustin@intevation.de>
date Mon, 09 Nov 2015 13:31:43 +0100
parents
children f73ca04d73a7
comparison
equal deleted inserted replaced
955:b401846e7817 956:45c67a784b31
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
2 * Software engineering by Intevation GmbH
3 *
4 * This file is Free Software under the GNU GPL (v>=3)
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
6 * the documentation coming with IMIS-Labordaten-Application for details.
7 */
8
9 /**
10 * Model class for StatusWerte
11 */
12 Ext.define('Lada.model.StatusStufe', {
13 extend: 'Ext.data.Model',
14
15 fields: [{
16 name: 'id'
17 }, {
18 name: 'stufe',
19 type: 'string'
20 }],
21
22 idProperty: 'id',
23
24 proxy: {
25 type: 'rest',
26 url: 'lada-server/statusstufe',
27 reader: {
28 type: 'json',
29 root: 'data'
30 }
31 }
32
33 });
34

http://lada.wald.intevation.org