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', torsten@6: initComponent: function() { torsten@254: this.layout = 'column', torsten@31: this.items = [ torsten@31: { torsten@31: id: 'search', torsten@31: xtype: 'combobox', torsten@48: editable: false, torsten@236: store: 'Queries', torsten@31: displayField:'name', torsten@31: valueField:'id', torsten@31: emptyText:'Wählen Sie eine Abfrage' torsten@254: }, torsten@254: { torsten@254: xtype: 'panel', torsten@254: maxWidth: '500', torsten@254: border: false, torsten@254: margin: '0 10', torsten@254: items: [ torsten@254: { torsten@254: id: 'sqldesc', torsten@254: xtype: 'displayfield', torsten@254: fieldLabel: 'Beschreibung', torsten@254: value: '-/-' torsten@254: }, torsten@254: { torsten@254: id: 'sqlquery', torsten@254: xtype: 'displayfield', torsten@254: fieldLabel: 'Abfrage', torsten@254: value: '-/-' torsten@254: } torsten@254: ] torsten@31: } torsten@31: ]; torsten@6: this.callParent(arguments); torsten@6: } torsten@6: });