view app/view/proben/List.js @ 22:0a4674f17bcb

Added more fields to the overview and set correct reference in on the edit page.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 07 May 2013 17:09:00 +0200
parents fd692dac69a2
children f964a50bfe57
line wrap: on
line source
Ext.define('Lada.view.proben.List' ,{
    extend: 'Ext.grid.Panel',
    alias: 'widget.probenlist',
    store: 'Proben',

    initComponent: function() {
        this.columns = [
            {header: 'Datenbasis',  dataIndex: 'datenbasisId', width: 70},
            {header: 'MLP',  dataIndex: 'mlpId', width: 50},
            {header: 'UWB',  dataIndex: 'umwId', width: 50},
            {header: 'HPNR',  dataIndex: 'hauptprobenNr'},
            {header: 'NPNR',  dataIndex: '', width: 50},
            {header: 'E.Gemeinde',  dataIndex: '', flex: 1},
            {header: 'Ursprungsgemeinde',  dataIndex: '', flex: 1},
            {header: 'ProbeID', dataIndex: 'probeId'},
            {header: 'OZB', dataIndex: '', width: 50},
            {header: 'MST', dataIndex: 'mstId', width: 50}
        ];
        this.callParent(arguments);
    }
});

http://lada.wald.intevation.org