comparison app/view/widget/Probenart.js @ 548:d47ee7439f44

Added new js files.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 06 Mar 2015 12:43:52 +0100
parents
children 2e8da590ea0c
comparison
equal deleted inserted replaced
547:f172b35a3b92 548:d47ee7439f44
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 Probenart
11 */
12 Ext.define('Lada.view.widget.Probenart', {
13 extend: 'Lada.view.widget.base.ComboBox',
14 alias: 'widget.probenart',
15 store: 'Probenarten',
16 displayField: 'probenart',
17 valueField: 'id',
18 emptyText: 'Wählen Sie eine Probenart',
19 // Enable filtering of comboboxes
20 autoSelect: false,
21 queryMode: 'local',
22 triggerAction: 'all',
23 typeAhead: false,
24 minChars: 0,
25
26 initComponent: function() {
27 this.store = Ext.data.StoreManager.get('probenarten');
28 if (!this.store) {
29 this.store = Ext.create('Lada.store.Probenarten');
30 }
31 this.callParent(arguments);
32 }
33 });

http://lada.wald.intevation.org