changeset 238:2a23fcca8ead

On Default the proben list will have no columns at all. The are added dynamically later when the user selects a search query.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 23 Jul 2013 11:29:37 +0200
parents bc2d46a67bbd
children f57b496b4caa
files app/view/proben/List.js
diffstat 1 files changed, 1 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/proben/List.js	Tue Jul 23 11:28:46 2013 +0200
+++ b/app/view/proben/List.js	Tue Jul 23 11:29:37 2013 +0200
@@ -36,18 +36,7 @@
                 ]
             }
         ];
-        this.columns = [
-            {header: 'Datenbasis',  dataIndex: 'datenbasisId', width: 70},
-            {header: 'MPL',  dataIndex: 'mplId', width: 50},
-            {header: 'UWB',  dataIndex: 'umwId', width: 50},
-            {header: 'MMT',  dataIndex: 'messmethode'},
-            {header: 'HPNR',  dataIndex: 'hauptprobenNr'},
-            {header: 'NPNR',  dataIndex: 'nebenprobenNr'},
-            {header: 'E.Gemeinde',  dataIndex: 'bezeichnung', flex: 1},
-            {header: 'Ursprungsgemeinde',  dataIndex: 'kreis', flex: 1},
-            {header: 'ProbeID', dataIndex: 'probeId'},
-            {header: 'MST', dataIndex: 'mstId', width: 50}
-        ];
+        this.columns = [];
         this.callParent(arguments);
     }
 });

http://lada.wald.intevation.org