view app/view/search/List.js @ 320:bc87e080ad05

Added docstring
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 13 Aug 2013 08:05:33 +0200
parents c2effc4a497b
children d5a2f7af695a
line wrap: on
line source
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