diff app/view/grid/Messwert.js @ 674:19d3b1f2613e

merged.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 19 Mar 2015 14:52:20 +0100
parents 7ede89336dbe
children 612f4f933083
line wrap: on
line diff
--- a/app/view/grid/Messwert.js	Thu Mar 19 14:31:07 2015 +0100
+++ b/app/view/grid/Messwert.js	Thu Mar 19 14:52:20 2015 +0100
@@ -67,7 +67,8 @@
                 store: Ext.data.StoreManager.get('messgroessen'),
                 displayField: 'messgroesse',
                 valueField: 'id',
-                allowBlank: false
+                allowBlank: false,
+                editable: false
             }
         }, {
             header: 'Messwert',
@@ -76,7 +77,10 @@
             width: 80,
             editor: {
                 xtype: 'numberfield',
-                allowBlank: false
+                allowBlank: false,
+                maxLength: 10,
+                allowExponential: false,
+                enforceMaxLength: true,
             }
         }, {
             header: 'Messeinheit',
@@ -94,7 +98,8 @@
                 store: Ext.data.StoreManager.get('messeinheiten'),
                 displayField: 'einheit',
                 valueField: 'id',
-                allowBlank: false
+                allowBlank: false,
+                editable: false
             }
         }, {
             header: '&lt;NWG',
@@ -113,7 +118,10 @@
             width: 80,
             editor: {
                 xtype: 'numberfield',
-                allowBlank: false
+                allowBlank: false,
+                maxLength: 10,
+                allowExponential: false,
+                enforceMaxLength: true,
             }
         }, {
             header: 'Grenzwertüberschreitung',

http://lada.wald.intevation.org