Mercurial > lada > lada-client
annotate app/view/widgets/Nwg.js @ 461:32cb3ce17f62
Added properties
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 08 Jan 2014 16:50:26 +0100 |
parents | 0ab89a3b9090 |
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 }); |