changeset 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 5a9c6b71bad2
children 2a23fcca8ead
files app/view/proben/List.js
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
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