comparison app/view/status/List.js @ 182:23f74ae3bb87

Added missing files.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 04 Jul 2013 15:11:58 +0200
parents
children 7997272bbf4b
comparison
equal deleted inserted replaced
181:062aa9001eb6 182:23f74ae3bb87
1 Ext.define('Lada.view.status.List' ,{
2 extend: 'Ext.grid.Panel',
3 alias: 'widget.statuslist',
4 store: 'Status',
5 viewConfig: {
6 maxHeight: 350,
7 emptyText: 'Keine Statusangaben gefunden.',
8 // minHeight and deferEmptyText are needed to be able to show the
9 // emptyText message.
10 minHeight: 35,
11 deferEmptyText: false
12 },
13 probeId: null,
14 initComponent: function() {
15 this.dockedItems = [
16 {
17 xtype: 'toolbar',
18 dock: 'top',
19 items: [
20 {
21 text: 'Hinzufügen',
22 icon: 'gfx/plus.gif',
23 action: 'add',
24 probeId: this.probeId
25 },
26 {
27 text: 'Löschen',
28 icon: 'gfx/minus.gif',
29 action: 'delete'
30 }
31 ]
32 }
33 ];
34 this.columns = [
35 {header: 'Erzeuger', dataIndex: 'erzeuger'},
36 {header: 'Status', dataIndex: 'status'},
37 {header: 'Datum', dataIndex: 'sdatum'},
38 {header: 'Text', dataIndex: 'stext', flex: 1}
39 ];
40 this.callParent(arguments);
41 }
42 });
43

http://lada.wald.intevation.org