view app/view/messwerte/Create.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 46cc69277b8e
children 0d6552bb28ea
line wrap: on
line source
Ext.define('Lada.view.messwerte.Create', {
    extend: 'Ext.window.Window',
    alias: 'widget.messwertecreate',

    title: 'Maske für Messwerte',
    autoShow: true,
    autoScroll: true,
    modal: true,

    initComponent: function() {
        var form = Ext.create('Lada.view.messwerte.CreateForm', this.initialConfig);
        this.items = [form];
        this.buttons = [
            {
                text: 'Speichern',
                scope: form,
                action: 'save'
            }
        ];
        this.callParent();
    }
});

http://lada.wald.intevation.org