view app/view/messwerte/Create.js @ 416:0814c50caa81

Set querymode to remote to only load a subset of items of the Verwaltungseinheit store.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 09 Oct 2013 10:13:32 +0200
parents c3c64920b740
children f9bb1ecf6462
line wrap: on
line source
/*
 * Window to create and edit a Messwert
 */
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() {
        this.buttons = [
            {
                text: 'Speichern',
                scope: form,
                action: 'save'
            },
            {
                text: 'Abbrechen',
                scope: this,
                handler: this.close,
            }
        ];
        var form = Ext.create('Lada.view.messwerte.CreateForm', this.initialConfig);
        this.items = [form];
        this.callParent();
    }
});

http://lada.wald.intevation.org