view app/view/search/List.js @ 241:4ca858026191

If the user selects a search query add call setupColumns method to dynamically add columns to the table as defined in the searach query.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 23 Jul 2013 11:31:47 +0200
parents 5a9c6b71bad2
children c2effc4a497b
line wrap: on
line source
Ext.define('Lada.view.search.List' ,{
    extend: 'Ext.form.FieldSet',
    title: 'SQL-Auswahl',
    alias: 'widget.queryselector',
    initComponent: function() {
        this.items = [
            {
                id: 'search',
                xtype: 'combobox',
                editable: false,
                store: 'Queries',
                displayField:'name',
                valueField:'id',
                emptyText:'Wählen Sie eine Abfrage'
            }
        ];
        this.callParent(arguments);
    }
});

http://lada.wald.intevation.org