view app/view/search/List.js @ 439:1fc4407c6c83 0.9

merged.
author Raimund Renkert <raimund.renkert@intevation.de>
date Mon, 02 Dec 2013 15:02:53 +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);
    }
});

http://lada.wald.intevation.org