torsten@472: /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz torsten@472: * Software engineering by Intevation GmbH torsten@472: * torsten@472: * This file is Free Software under the GNU GPL (v>=3) torsten@472: * and comes with ABSOLUTELY NO WARRANTY! Check out raimund@497: * the documentation coming with IMIS-Labordaten-Application for details. torsten@472: */ torsten@472: torsten@443: var nwgStore = Ext.create('Ext.data.Store', { torsten@443: fields: ['nwgId', 'nwg'], raimund@497: data: [{ raimund@497: 'nwgId': '', raimund@497: 'nwg': '>=' raimund@497: }, { raimund@497: 'nwgId': '<', raimund@497: 'nwg': '<' raimund@497: }] torsten@443: }); torsten@443: torsten@443: /** torsten@443: * Combobox for Nachweisgrenze. torsten@443: */ raimund@497: Ext.define('Lada.view.widgets.Nwg', { raimund@491: extend: 'Ext.form.ComboBox', raimund@491: editable: false, raimund@491: alias: 'widget.nwg', raimund@491: store: nwgStore, raimund@491: queryMode: 'local', raimund@497: displayField: 'nwg', raimund@491: valueField: 'nwgId', raimund@497: emptyText: 'Messwert kleiner als Nachweisgrenze?', raimund@491: torsten@443: initComponent: function() { torsten@443: this.callParent(arguments); torsten@443: } torsten@443: });