Mercurial > lada > lada-client
annotate app/model/StatusWerte.js @ 975:fb99332bb48e stammdatengrids
Severe changes concerning the Resultgrids.
- Intrduced "Stammdaten" which can be selected in the Mode Field on the left side,
- Added Stores and Models for the Stammdaten
- Removed the FilterResultgrid and replaced it with a model which uses inheritance.
Dynamic Grid Columns can now be derived from app/view/widget/DynamicGrid.js
For Proben and Messprogramme this is already done.
- There might be some REGRESSION concerning the buttons in the ProbeList and
MessprogrammeList grid, as those are not disabled properly.
This needs to be fixed in future commits.
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Wed, 02 Dec 2015 17:39:04 +0100 |
parents | 45c67a784b31 |
children | f73ca04d73a7 |
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', | |
26 url: 'lada-server/statuswert', | |
27 reader: { | |
28 type: 'json', | |
29 root: 'data' | |
30 } | |
31 } | |
32 | |
33 }); |