Mercurial > lada > lada-client
diff app/view/grid/Messwert.js @ 993:f9449df5f9fb
init messwertNwg for editing
author | Michael Stanko <mstanko@bfs.de> |
---|---|
date | Thu, 07 Jan 2016 13:58:35 +0100 |
parents | 19b78162e128 |
children | 7e801af49eeb |
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: {