Mercurial > lada > lada-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
236:5a9c6b71bad2 | 237:bc2d46a67bbd |
---|---|
8 // minHeight and deferEmptyText are needed to be able to show the | 8 // minHeight and deferEmptyText are needed to be able to show the |
9 // emptyText message. | 9 // emptyText message. |
10 minHeight: 35, | 10 minHeight: 35, |
11 deferEmptyText: false | 11 deferEmptyText: false |
12 }, | 12 }, |
13 availableColumns: [ | |
14 {header: 'Datenbasis', dataIndex: 'datenbasisId', width: 70}, | |
15 {header: 'MPL', dataIndex: 'mplId', width: 50}, | |
16 {header: 'UWB', dataIndex: 'umwId', width: 50}, | |
17 {header: 'MMT', dataIndex: 'messmethode'}, | |
18 {header: 'HPNR', dataIndex: 'hauptprobenNr'}, | |
19 {header: 'NPNR', dataIndex: 'nebenprobenNr'}, | |
20 {header: 'E.Gemeinde', dataIndex: 'bezeichnung', flex: 1}, | |
21 {header: 'Ursprungsgemeinde', dataIndex: 'kreis', flex: 1}, | |
22 {header: 'ProbeID', dataIndex: 'probeId'}, | |
23 {header: 'MST', dataIndex: 'mstId', width: 50} | |
24 ], | |
13 initComponent: function() { | 25 initComponent: function() { |
14 this.dockedItems = [ | 26 this.dockedItems = [ |
15 { | 27 { |
16 xtype: 'toolbar', | 28 xtype: 'toolbar', |
17 dock: 'top', | 29 dock: 'top', |