diff app/view/grid/MKommentar.js @ 1172:9b157a8eecf1

Changed MKommentar Text into type textarea
author Evi Huber <ehuber@bfs.de>
date Tue, 05 Jul 2016 09:16:20 +0200
parents 37f30b01788c
children 4270da0f7d3b
line wrap: on
line diff
--- a/app/view/grid/MKommentar.js	Mon Jul 04 11:26:42 2016 +0200
+++ b/app/view/grid/MKommentar.js	Tue Jul 05 09:16:20 2016 +0200
@@ -91,7 +91,12 @@
             header: 'Text',
             dataIndex: 'text',
             flex: 1,
+            renderer: function(value) {
+                return '<div style="white-space: normal !important;">' +
+                value + '</div>';
+            },
             editor: {
+                xtype: 'textarea',
                 allowBlank: false,
                 maxLength: 1000,
                 enforceMaxLength: true

http://lada.wald.intevation.org