view app/view/sql/List.js @ 13:a8efc4b96888

Added model for Proben and a Store.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 30 Apr 2013 12:34:36 +0200
parents e4fcb4ddd782
children 4faac2a04345
line wrap: on
line source
Ext.define('Lada.view.sql.List' ,{
    extend: 'Ext.grid.Panel',
    alias: 'widget.sqllist',
    title: 'SQL-Auswahl',
    store: 'Sql',

    initComponent: function() {
        this.columns = [
            {header: 'ID',  dataIndex: 'id',  flex: 1},
            {header: 'Kurzname', dataIndex: 'name', flex: 1},
            {header: 'SQL', dataIndex: 'desc', flex: 1}
        ];

        this.callParent(arguments);
    }
});

http://lada.wald.intevation.org