comparison app/view/grid/Probenzusatzwert.js @ 1054:7e801af49eeb

Use exponential notation for messwerte and zusatzwerte.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 02 Mar 2016 12:59:15 +0100
parents 479782c96efa
children b73f9a976c82
comparison
equal deleted inserted replaced
1052:d2165ba7e8f1 1054:7e801af49eeb
88 editable: false 88 editable: false
89 } 89 }
90 }, { 90 }, {
91 header: 'Messwert', 91 header: 'Messwert',
92 dataIndex: 'messwertPzs', 92 dataIndex: 'messwertPzs',
93 xtype: 'numbercolumn', 93 flex: 1,
94 flex: 1, 94 editor: {
95 editor: { 95 xtype: 'textfield',
96 xtype: 'numberfield', 96 allowBlank: false,
97 allowBlank: false, 97 regex: /^[+\-]?(?:(?:0|[1-9]\d*)(?:[\.\,][0-9]\d*)?(?:[eE][+\-]?\d+)|(\d+[\.\,]?\d*)?)$/,
98 maxLength: 10, 98 regexText: 'Keine Zahl'
99 enforceMaxLength: true,
100 allowExponential: false
101 } 99 }
102 }, { 100 }, {
103 header: '< NWG', 101 header: '< NWG',
104 flex: 1, 102 flex: 1,
105 renderer: function(value, meta, record) { 103 renderer: function(value, meta, record) {
112 } 110 }
113 }, { 111 }, {
114 header: 'Nachweisgrenze', 112 header: 'Nachweisgrenze',
115 dataIndex: 'nwgZuMesswert', 113 dataIndex: 'nwgZuMesswert',
116 xtype: 'numbercolumn', 114 xtype: 'numbercolumn',
117 format: '0', 115 flex: 1,
118 flex: 1, 116 editor: {
119 editor: { 117 xtype: 'textfield',
120 xtype: 'numberfield', 118 allowBlank: false,
121 allowBlank: false, 119 regex: /^[+\-]?(?:(?:0|[1-9]\d*)(?:[\.\,][0-9]\d*)?(?:[eE][+\-]?\d+)|(\d+[\.\,]?\d*)?)$/,
122 maxLength: 10, 120 regexText: 'Keine Zahl'
123 enforceMaxLength: true,
124 allowExponential: false
125 } 121 }
126 }, { 122 }, {
127 header: 'Maßeinheit', 123 header: 'Maßeinheit',
128 dataIndex: 'pzsId', 124 dataIndex: 'pzsId',
129 flex: 1, 125 flex: 1,

http://lada.wald.intevation.org