Mercurial > lada > lada-client
annotate app/view/widgets/Probenzusatzwert.js @ 479:d00cc841a876
Set size on initialize in windows.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 21 Jan 2014 15:08:53 +0100 |
parents | debfcc7713e3 |
children | e45f4df57938 |
rev | line source |
---|---|
472
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
423
diff
changeset
|
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
423
diff
changeset
|
2 * Software engineering by Intevation GmbH |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
423
diff
changeset
|
3 * |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
423
diff
changeset
|
4 * This file is Free Software under the GNU GPL (v>=3) |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
423
diff
changeset
|
5 * and comes with ABSOLUTELY NO WARRANTY! Check out |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
423
diff
changeset
|
6 * the documentation coming with IMIS-Labordaten-Application for details. |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
423
diff
changeset
|
7 */ |
debfcc7713e3
Added license header to each file.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
423
diff
changeset
|
8 |
352
5fbcbf330839
Added documenation
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
122
diff
changeset
|
9 /** |
5fbcbf330839
Added documenation
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
122
diff
changeset
|
10 * Combobox for Zusatzwert |
5fbcbf330839
Added documenation
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
122
diff
changeset
|
11 */ |
423
f0f6ae3aae52
Fixed class names.
Raimund Renkert <rrenkert@intevation.de>
parents:
355
diff
changeset
|
12 Ext.define('Lada.view.widgets.Probenzusatzwert' ,{ |
112
882566d0b8f3
Added widgets for messeinheiten und zusatzwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
13 extend: 'Ext.form.ComboBox', |
122
a7bfaeb1655d
Cleanup part three. Reenabled Zusatzwerte and implemented sending nested data.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
114
diff
changeset
|
14 alias: 'widget.probenzusatzwert', |
a7bfaeb1655d
Cleanup part three. Reenabled Zusatzwerte and implemented sending nested data.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
114
diff
changeset
|
15 store: 'Probenzusatzwerte', |
114
189a93e31be9
Worked on Zusatzwerte. No all values are displayed correct in the List and
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
112
diff
changeset
|
16 displayField: 'beschreibung', |
112
882566d0b8f3
Added widgets for messeinheiten und zusatzwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
17 valueField: 'pzsId', |
882566d0b8f3
Added widgets for messeinheiten und zusatzwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
18 emptyText:'Wählen Sie einen Zusatzwert', |
355
596501c16560
Issue8. Fixed filtering of comboboxes while typing.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
352
diff
changeset
|
19 // Enable filtering of comboboxes |
596501c16560
Issue8. Fixed filtering of comboboxes while typing.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
352
diff
changeset
|
20 autoSelect: false, |
596501c16560
Issue8. Fixed filtering of comboboxes while typing.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
352
diff
changeset
|
21 queryMode: 'local', |
596501c16560
Issue8. Fixed filtering of comboboxes while typing.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
352
diff
changeset
|
22 triggerAction : 'all', |
596501c16560
Issue8. Fixed filtering of comboboxes while typing.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
352
diff
changeset
|
23 typeAhead: true, |
596501c16560
Issue8. Fixed filtering of comboboxes while typing.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
352
diff
changeset
|
24 minChars: 0, |
112
882566d0b8f3
Added widgets for messeinheiten und zusatzwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
25 initComponent: function() { |
882566d0b8f3
Added widgets for messeinheiten und zusatzwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
26 this.callParent(arguments); |
882566d0b8f3
Added widgets for messeinheiten und zusatzwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
27 } |
882566d0b8f3
Added widgets for messeinheiten und zusatzwerte.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
28 }); |