Mercurial > lada > lada-client
comparison app/view/grid/PKommentar.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 |
---|---|
63 icon: 'resources/img/list-remove.png', | 63 icon: 'resources/img/list-remove.png', |
64 action: 'delete' | 64 action: 'delete' |
65 }] | 65 }] |
66 }]; | 66 }]; |
67 this.columns = [{ | 67 this.columns = [{ |
68 header: 'erstellt', | |
69 dataIndex: 'datum', | |
70 xtype: 'datecolumn', | |
71 format: 'd.m.Y H:i', | |
72 width: 110, | |
73 }, { | |
68 header: 'Erzeuger', | 74 header: 'Erzeuger', |
69 dataIndex: 'erzeuger', | 75 dataIndex: 'erzeuger', |
70 width: 140, | 76 width: 140, |
71 renderer: function(value) { | 77 renderer: function(value) { |
72 if (!value || value === '') { | 78 if (!value || value === '') { |
80 xtype: 'combobox', | 86 xtype: 'combobox', |
81 store: Ext.data.StoreManager.get('messstellen'), | 87 store: Ext.data.StoreManager.get('messstellen'), |
82 displayField: 'messStelle', | 88 displayField: 'messStelle', |
83 valueField: 'id', | 89 valueField: 'id', |
84 allowBlank: false | 90 allowBlank: false |
85 } | |
86 }, { | |
87 header: 'Datum', | |
88 dataIndex: 'datum', | |
89 editor: { | |
90 xtype: 'datefield', | |
91 allowBlank: false, | |
92 format: 'd.m.Y', | |
93 maxValue: Ext.Date.format(new Date(), 'd.m.Y') | |
94 } | 91 } |
95 }, { | 92 }, { |
96 header: 'Text', | 93 header: 'Text', |
97 dataIndex: 'text', | 94 dataIndex: 'text', |
98 flex: 1, | 95 flex: 1, |