comparison app/view/widgets/Nwg.js @ 443:0ab89a3b9090

Added new widget to enter the value for messwertNwg in when creating new messwerte.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 03 Dec 2013 11:24:13 +0100
parents
children debfcc7713e3
comparison
equal deleted inserted replaced
442:bba7fbcf2f70 443:0ab89a3b9090
1 var nwgStore = Ext.create('Ext.data.Store', {
2 fields: ['nwgId', 'nwg'],
3 data: [
4 {"nwgId":"", "nwg":">="},
5 {"nwgId":"<", "nwg":"<"}
6 ]
7 });
8
9 /**
10 * Combobox for Nachweisgrenze.
11 */
12 Ext.define('Lada.view.widgets.Nwg' ,{
13 extend: 'Ext.form.ComboBox',
14 editable: false,
15 alias: 'widget.nwg',
16 store: nwgStore,
17 queryMode: 'local',
18 displayField:'nwg',
19 valueField: 'nwgId',
20 emptyText:'Messwert kleiner als Nachweisgrenze?',
21 initComponent: function() {
22 this.callParent(arguments);
23 }
24 });

http://lada.wald.intevation.org