Mercurial > lada > lada-client
annotate app/view/widgets/Nwg.js @ 443:0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 03 Dec 2013 11:24:13 +0100 |
parents | |
children | debfcc7713e3 |
rev | line source |
---|---|
443
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
1 var nwgStore = Ext.create('Ext.data.Store', { |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
2 fields: ['nwgId', 'nwg'], |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
3 data: [ |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 {"nwgId":"", "nwg":">="}, |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 {"nwgId":"<", "nwg":"<"} |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 ] |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
7 }); |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
8 |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
9 /** |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 * Combobox for Nachweisgrenze. |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 */ |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
12 Ext.define('Lada.view.widgets.Nwg' ,{ |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 extend: 'Ext.form.ComboBox', |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
14 editable: false, |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
15 alias: 'widget.nwg', |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
16 store: nwgStore, |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
17 queryMode: 'local', |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
18 displayField:'nwg', |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
19 valueField: 'nwgId', |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
20 emptyText:'Messwert kleiner als Nachweisgrenze?', |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
21 initComponent: function() { |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
22 this.callParent(arguments); |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
23 } |
0ab89a3b9090
Added new widget to enter the value for messwertNwg in when creating new messwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
24 }); |