view app/view/search/List.js @ 349:d5a2f7af695a

Added documentation
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 13 Aug 2013 11:35:48 +0200
parents c2effc4a497b
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