Mercurial > lada > lada-client
comparison app/view/widget/MessstelleLabor.js @ 1066:d198946e5540
Introduced laborMstId as new probe field.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 11 Mar 2016 13:58:04 +0100 |
parents | |
children | cbe5a19449a4 |
comparison
equal
deleted
inserted
replaced
1065:7fa853864d9b | 1066:d198946e5540 |
---|---|
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 * Combobox for Messstelle | |
11 */ | |
12 Ext.define('Lada.view.widget.MessstelleLabor', { | |
13 extend: 'Lada.view.widget.base.ComboBox', | |
14 alias: 'widget.messstellelabor', | |
15 store: 'MessstelleLabor', | |
16 displayField: 'displayCombi', | |
17 valueField: 'id', | |
18 editable: this.editable || false, | |
19 forceSelection: true, | |
20 emptyText: 'Wählen Sie eine Kombination', | |
21 // Enable filtering of comboboxes | |
22 autoSelect: true, | |
23 queryMode: 'local', | |
24 triggerAction: 'all', | |
25 typeAhead: false, | |
26 minChars: 0, | |
27 | |
28 initComponent: function() { | |
29 this.store = Ext.data.StoreManager.get('messstellelabor'); | |
30 this.callParent(arguments); | |
31 this.down('combobox').isFormField = false; | |
32 } | |
33 }); |