Mercurial > lada > lada-client
view app/view/search/List.js @ 429:608a1784a8ac
Load currently "selected" verwaltungseinheit when changing the selection.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 08 Nov 2013 12:46:24 +0100 |
parents | d5a2f7af695a |
children | debfcc7713e3 |
line wrap: on
line source
/* * Grid to list available search queryies */ Ext.define('Lada.view.search.List' ,{ extend: 'Ext.form.FieldSet', title: 'SQL-Auswahl', alias: 'widget.queryselector', initComponent: function() { this.layout = 'column', this.items = [ { id: 'search', xtype: 'combobox', editable: false, store: 'Queries', displayField:'name', valueField:'id', emptyText:'Wählen Sie eine Abfrage' }, { xtype: 'panel', maxWidth: '500', border: false, margin: '0 10', items: [ { id: 'sqldesc', xtype: 'displayfield', fieldLabel: 'Beschreibung', value: '-/-' }, { id: 'sqlquery', xtype: 'displayfield', fieldLabel: 'Abfrage', value: '-/-' } ] } ]; this.callParent(arguments); } });