view app/view/proben/List.js @ 36:2a67e062519b

Implemted search. When user clicks on the search buttons parameters are fetched and a query url is the generated.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 23 May 2013 16:50:42 +0200
parents c684f01c0b72
children e9229d79e430
line wrap: on
line source
Ext.define('Lada.view.proben.List' ,{
    extend: 'Ext.grid.Panel',
    alias: 'widget.probenlist',
    maxHeight: 350,
    store: 'Proben',
    initComponent: function() {
        this.columns = [
            {header: 'Datenbasis',  dataIndex: 'datenbasisId', width: 70},
            {header: 'MPL',  dataIndex: 'mplId', width: 50},
            {header: 'UWB',  dataIndex: 'umwId', width: 50},
            {header: 'HPNR',  dataIndex: 'hauptprobenNr'},
            {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