changeset 626:13e5473d1af5

Datum Spalte zu einer Datumsspalte gemacht
author Dustin Demuth <dustin@intevation.de>
date Mon, 16 Mar 2015 12:38:16 +0100
parents f59bda7551d7
children 6742ae5f35dc
files app/view/grid/MKommentar.js
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/grid/MKommentar.js	Mon Mar 16 11:40:15 2015 +0100
+++ b/app/view/grid/MKommentar.js	Mon Mar 16 12:38:16 2015 +0100
@@ -61,11 +61,13 @@
         }, {
             header: 'Datum',
             dataIndex: 'datum',
+            xtype: 'datecolumn',
+            format: 'd.m.Y H:i',
             editor: {
                 xtype: 'datefield',
                 allowBlank: false,
-                format: 'd.m.Y',
-                maxValue: Ext.Date.format(new Date(), 'd.m.Y')
+                format: 'd.m.Y H:i',
+                maxValue: Ext.Date.format(new Date(), 'd.m.Y H:i')
             }
         }, {
             header: 'Text',

http://lada.wald.intevation.org