view app/view/sql/List.js @ 20:764a0aef0f56

Remove Field configuration. Field are configured in the model.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 07 May 2013 16:27:40 +0200
parents 4faac2a04345
children f964a50bfe57
line wrap: on
line source
Ext.define('Lada.view.sql.List' ,{
    extend: 'Ext.grid.Panel',
    alias: 'widget.sqllist',
    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