Mercurial > lada > lada-client
annotate app/model/StatusWerte.js @ 1345:da98f0e7c288
Check for empty values in ort grid.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 06 Feb 2017 11:57:05 +0100 |
parents | f73ca04d73a7 |
children |
rev | line source |
---|---|
946 | 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.StatusWerte', { | |
13 extend: 'Ext.data.Model', | |
14 | |
15 fields: [{ | |
16 name: 'id' | |
17 }, { | |
956
45c67a784b31
Added StatusStufe to the StatusGrid. Created Store and Model for StatusStufe
Dustin Demuth <dustin@intevation.de>
parents:
946
diff
changeset
|
18 name: 'wert', |
45c67a784b31
Added StatusStufe to the StatusGrid. Created Store and Model for StatusStufe
Dustin Demuth <dustin@intevation.de>
parents:
946
diff
changeset
|
19 type: 'string' |
946 | 20 }], |
21 | |
22 idProperty: 'id', | |
23 | |
24 proxy: { | |
25 type: 'rest', | |
999 | 26 url: 'lada-server/rest/statuswert', |
946 | 27 reader: { |
28 type: 'json', | |
29 root: 'data' | |
30 } | |
31 } | |
32 | |
33 }); |