view app/view/Viewport.js @ 17:3eaeeec2bb28

Changed layout and added Listeners to show the correct variable definition for the selected sql query.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 30 Apr 2013 17:55:48 +0200
parents cdcaf38eab45
children f964a50bfe57
line wrap: on
line source
Ext.define('Lada.view.Viewport' ,{
    extend: 'Ext.container.Viewport',
    requires: [
        'Lada.view.Sql',
        'Lada.view.Proben'
    ],
    layout: 'fit',
    initComponent: function() {
        console.log('Setting up Viewport');
        this.items = {
            xtype: 'probenlist'
            //items: [{
            //    xtype: 'probenlist'
            //}]
        };
        this.callParent(arguments);
    }
});

http://lada.wald.intevation.org