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 torsten@472: * the documentation coming with IMIS-Labordaten-Application for details. torsten@472: */ torsten@472: torsten@349: /* torsten@349: * Grid to list available search queryies torsten@349: */ torsten@28: Ext.define('Lada.view.search.List' ,{ torsten@31: extend: 'Ext.form.FieldSet', torsten@31: title: 'SQL-Auswahl', torsten@31: alias: 'widget.queryselector', raimund@478: require: ['Ext.layout.container.Column'], torsten@6: initComponent: function() { torsten@254: this.layout = 'column', raimund@491: this.items = [{ raimund@491: id: 'search', raimund@491: xtype: 'combobox', raimund@491: editable: false, raimund@491: store: 'Queries', raimund@491: displayField:'name', raimund@491: valueField:'id', raimund@491: emptyText:'Wählen Sie eine Abfrage' raimund@491: }, { raimund@491: xtype: 'panel', raimund@491: maxWidth: '500', raimund@491: border: false, raimund@491: margin: '0 10', raimund@491: items: [{ raimund@491: id: 'sqldesc', raimund@491: xtype: 'displayfield', raimund@491: fieldLabel: 'Beschreibung', raimund@491: value: '-/-' raimund@491: }, { raimund@491: id: 'sqlquery', raimund@491: xtype: 'displayfield', raimund@491: fieldLabel: 'Abfrage', raimund@491: value: '-/-' raimund@491: }] raimund@491: }]; torsten@6: this.callParent(arguments); torsten@6: } torsten@6: });