Mercurial > lada > lada-client
comparison app/view/grid/Status.js @ 944:1f1467713c3f
Status grid modified
author | Michael Stanko <mstanko@bfs.de> |
---|---|
date | Fri, 16 Oct 2015 08:15:36 +0200 |
parents | 07dfcdf5b41f |
children | 023e622f9551 |
comparison
equal
deleted
inserted
replaced
943:0a233865a9c3 | 944:1f1467713c3f |
---|---|
61 icon: 'resources/img/list-remove.png', | 61 icon: 'resources/img/list-remove.png', |
62 action: 'delete' | 62 action: 'delete' |
63 }] | 63 }] |
64 }]; | 64 }]; |
65 this.columns = [{ | 65 this.columns = [{ |
66 header: 'erstellt', | |
67 dataIndex: 'sdatum', | |
68 xtype: 'datecolumn', | |
69 format: 'd.m.Y H:i', | |
70 width: 110, | |
71 }, { | |
66 header: 'Erzeuger', | 72 header: 'Erzeuger', |
67 dataIndex: 'erzeuger', | 73 dataIndex: 'erzeuger', |
68 renderer: function(value) { | 74 renderer: function(value) { |
69 if (!value || value === '') { | 75 if (!value || value === '') { |
70 return ''; | 76 return ''; |
94 store: statusStore, | 100 store: statusStore, |
95 displayField: 'display', | 101 displayField: 'display', |
96 valueField: 'id', | 102 valueField: 'id', |
97 allowBlank: false, | 103 allowBlank: false, |
98 editable: false | 104 editable: false |
99 } | |
100 }, { | |
101 header: 'Datum', | |
102 dataIndex: 'sdatum', | |
103 xtype: 'datecolumn', | |
104 format: 'd.m.Y', | |
105 editor: { | |
106 xtype: 'datefield', | |
107 allowBlank: false, | |
108 format: 'd.m.Y', | |
109 maxValue: Ext.Date.format(new Date(), 'd.m.Y') | |
110 } | 105 } |
111 }, { | 106 }, { |
112 header: 'Text', | 107 header: 'Text', |
113 dataIndex: 'skommentar', | 108 dataIndex: 'skommentar', |
114 flex: 1, | 109 flex: 1, |