[Lada-commits] [PATCH] init messwertNwg for editing

Wald Commits scm-commit at wald.intevation.org
Thu Jan 7 13:58:40 CET 2016


# HG changeset patch
# User Michael Stanko <mstanko at bfs.de>
# Date 1452171515 -3600
# Node ID f9449df5f9fba4760b9bef41a3c2ee6da69c26a0
# Parent  77ea9a5c5f1dafec53b7240a4a47842e03ae233a
init messwertNwg for editing

diff -r 77ea9a5c5f1d -r f9449df5f9fb app/view/grid/Messwert.js
--- a/app/view/grid/Messwert.js	Thu Jan 07 10:59:46 2016 +0100
+++ b/app/view/grid/Messwert.js	Thu Jan 07 13:58:35 2016 +0100
@@ -99,7 +99,8 @@
             width: 60,
             dataIndex: 'messwertNwg',
             editor: {
-                xtype: 'checkbox'
+                xtype: 'checkbox',
+     	        inputValue: '<'
             }
         }, {
             header: 'Messwert',
@@ -107,7 +108,7 @@
             xtype: 'numbercolumn',
             width: 80,
             renderer: function(value) {
-              return value.toExponential(3);
+              return value.toExponential(2);
             },
             editor: {
                 xtype: 'numberfield',
@@ -165,7 +166,7 @@
               if (!value) {
                 return null;
               } else {
-                return value.toExponential(3);
+                return value.toExponential(2);
               }
             },
             editor: {


More information about the Lada-commits mailing list