comparison app/view/proben/List.js @ 63:f7d40f8a6902

Added toolbar on the top of the proben listing.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 31 May 2013 17:28:33 +0200
parents e9229d79e430
children b6a05fe9f40e
comparison
equal deleted inserted replaced
62:2d6c4f4c9b11 63:f7d40f8a6902
9 // emptyText message. 9 // emptyText message.
10 minHeight: 35, 10 minHeight: 35,
11 deferEmptyText: false 11 deferEmptyText: false
12 }, 12 },
13 initComponent: function() { 13 initComponent: function() {
14 this.dockedItems = [
15 {
16 xtype: 'toolbar',
17 dock: 'top',
18 items: [
19 {
20 text: 'Hinzufügen',
21 icon: 'gfx/plus.gif',
22 action: 'add'
23 }
24 ]
25 }
26 ];
14 this.columns = [ 27 this.columns = [
15 {header: 'Datenbasis', dataIndex: 'datenbasisId', width: 70}, 28 {header: 'Datenbasis', dataIndex: 'datenbasisId', width: 70},
16 {header: 'MPL', dataIndex: 'mplId', width: 50}, 29 {header: 'MPL', dataIndex: 'mplId', width: 50},
17 {header: 'UWB', dataIndex: 'umwId', width: 50}, 30 {header: 'UWB', dataIndex: 'umwId', width: 50},
18 {header: 'HPNR', dataIndex: 'hauptprobenNr'}, 31 {header: 'HPNR', dataIndex: 'hauptprobenNr'},

http://lada.wald.intevation.org