comparison app/view/grid/Messwert.js @ 995:fb424948de02

Merged heads
author Dustin Demuth <dustin@intevation.de>
date Thu, 07 Jan 2016 16:20:48 +0100
parents f9449df5f9fb
children 7e801af49eeb
comparison
equal deleted inserted replaced
994:092e245b13a4 995:fb424948de02
97 }, { 97 }, {
98 header: '&lt;NWG', 98 header: '&lt;NWG',
99 width: 60, 99 width: 60,
100 dataIndex: 'messwertNwg', 100 dataIndex: 'messwertNwg',
101 editor: { 101 editor: {
102 xtype: 'checkbox' 102 xtype: 'checkbox',
103 inputValue: '<'
103 } 104 }
104 }, { 105 }, {
105 header: 'Messwert', 106 header: 'Messwert',
106 dataIndex: 'messwert', 107 dataIndex: 'messwert',
107 xtype: 'numbercolumn', 108 xtype: 'numbercolumn',
108 width: 80, 109 width: 80,
109 renderer: function(value) { 110 renderer: function(value) {
110 return value.toExponential(3); 111 return value.toExponential(2);
111 }, 112 },
112 editor: { 113 editor: {
113 xtype: 'numberfield', 114 xtype: 'numberfield',
114 allowBlank: false, 115 allowBlank: false,
115 maxLength: 10, 116 maxLength: 10,
163 width: 80, 164 width: 80,
164 renderer: function(value) { 165 renderer: function(value) {
165 if (!value) { 166 if (!value) {
166 return null; 167 return null;
167 } else { 168 } else {
168 return value.toExponential(3); 169 return value.toExponential(2);
169 } 170 }
170 }, 171 },
171 editor: { 172 editor: {
172 xtype: 'numberfield', 173 xtype: 'numberfield',
173 allowBlank: true, 174 allowBlank: true,

http://lada.wald.intevation.org