diff app/view/proben/List.js @ 237:bc2d46a67bbd

Added configuration varibale to define the set of all available columns.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 23 Jul 2013 11:28:46 +0200
parents b6a05fe9f40e
children 2a23fcca8ead
line wrap: on
line diff
--- a/app/view/proben/List.js	Tue Jul 23 09:53:07 2013 +0200
+++ b/app/view/proben/List.js	Tue Jul 23 11:28:46 2013 +0200
@@ -10,6 +10,18 @@
         minHeight: 35,
         deferEmptyText: false
     },
+    availableColumns: [
+            {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}
+    ],
     initComponent: function() {
         this.dockedItems = [
             {

http://lada.wald.intevation.org