comparison app/view/widget/Nwg.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
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 var nwgStore = Ext.create('Ext.data.Store', {
10 fields: ['nwgId', 'nwg'],
11 data: [{
12 'nwgId': '',
13 'nwg': '>='
14 }, {
15 'nwgId': '<',
16 'nwg': '<'
17 }]
18 });
19
20 /**
21 * Combobox for Nachweisgrenze.
22 */
23 Ext.define('Lada.view.widget.Nwg', {
24 extend: 'Lada.view.widget.base.ComboBox',
25 editable: false,
26 alias: 'widget.nwg',
27 store: nwgStore,
28 queryMode: 'local',
29 displayField: 'nwg',
30 valueField: 'nwgId',
31 emptyText: 'Messwert kleiner als Nachweisgrenze?',
32
33 initComponent: function() {
34 this.callParent(arguments);
35 }
36 });

http://lada.wald.intevation.org