changeset 993:f9449df5f9fb

init messwertNwg for editing
author Michael Stanko <mstanko@bfs.de>
date Thu, 07 Jan 2016 13:58:35 +0100
parents 77ea9a5c5f1d
children fb424948de02
files app/view/grid/Messwert.js
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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: {

http://lada.wald.intevation.org