comparison app/view/grid/MKommentar.js @ 943:0a233865a9c3

PKommentar an MKommentar grid modified
author Michael Stanko <mstanko@bfs.de>
date Wed, 14 Oct 2015 11:40:25 +0200
parents 07dfcdf5b41f
children 841196768e86
comparison
equal deleted inserted replaced
942:f2001df0e494 943:0a233865a9c3
57 icon: 'resources/img/list-remove.png', 57 icon: 'resources/img/list-remove.png',
58 action: 'delete' 58 action: 'delete'
59 }] 59 }]
60 }]; 60 }];
61 this.columns = [{ 61 this.columns = [{
62 header: 'erstellt',
63 dataIndex: 'datum',
64 xtype: 'datecolumn',
65 format: 'd.m.Y H:i',
66 width: 110,
67 }, {
62 header: 'Erzeuger', 68 header: 'Erzeuger',
63 dataIndex: 'erzeuger', 69 dataIndex: 'erzeuger',
64 renderer: function(value) { 70 renderer: function(value) {
65 if (!value || value === '') { 71 if (!value || value === '') {
66 return ''; 72 return '';
73 store: Ext.data.StoreManager.get('messstellen'), 79 store: Ext.data.StoreManager.get('messstellen'),
74 displayField: 'messStelle', 80 displayField: 'messStelle',
75 valueField: 'id', 81 valueField: 'id',
76 allowBlank: false, 82 allowBlank: false,
77 editable: false 83 editable: false
78 }
79 }, {
80 header: 'Datum',
81 dataIndex: 'datum',
82 xtype: 'datecolumn',
83 format: 'd.m.Y',
84 editor: {
85 xtype: 'datefield',
86 allowBlank: false,
87 format: 'd.m.Y',
88 maxValue: Ext.Date.format(new Date(), 'd.m.Y')
89 } 84 }
90 }, { 85 }, {
91 header: 'Text', 86 header: 'Text',
92 dataIndex: 'text', 87 dataIndex: 'text',
93 flex: 1, 88 flex: 1,

http://lada.wald.intevation.org