[Lada-commits] [PATCH 3 of 9] Added configuration varibale to define the set of all available columns

Wald Commits scm-commit at wald.intevation.org
Tue Jul 23 11:46:31 CEST 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1374571726 -7200
# Node ID bc2d46a67bbdb83e71cfff54d78854482ebf36e5
# Parent  5a9c6b71bad2e8327c3bcd9aa5c1994d85cd6377
Added configuration varibale to define the set of all available columns.

diff -r 5a9c6b71bad2 -r bc2d46a67bbd app/view/proben/List.js
--- 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 = [
             {


More information about the Lada-commits mailing list