Mercurial > lada > lada-client
comparison app/view/messwerte/List.js @ 419:2f4270ff8206
Issue70: Indikator eingefügt um anzuzeigen das der Messert unterhalb der
Nachweisgrenze liegt.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 11 Oct 2013 13:04:30 +0200 |
parents | d1bb925bb5f5 |
children | 3ed0ab0f5ee5 |
comparison
equal
deleted
inserted
replaced
414:5c037d30aaab | 419:2f4270ff8206 |
---|---|
35 } | 35 } |
36 ] | 36 ] |
37 } | 37 } |
38 ]; | 38 ]; |
39 this.columns = [ | 39 this.columns = [ |
40 {header: 'Messwert', dataIndex: 'messwert'}, | 40 { |
41 header: 'Messwert', | |
42 dataIndex: 'messwert', | |
43 renderer: function(value, row) { | |
44 // the seconds argument here is not documented in JQuery | |
45 // but it has the current rendererd row and this | |
46 // referenced the record. | |
47 var nwg = row.record.get('nwgZuMesswert'); | |
48 if (value < nwg) { | |
49 return "<"+value; | |
50 } else { | |
51 return value; | |
52 } | |
53 } | |
54 }, | |
41 {header: 'Messfehler', dataIndex: 'messfehler'}, | 55 {header: 'Messfehler', dataIndex: 'messfehler'}, |
42 { | 56 { |
43 header: 'Messgröße', | 57 header: 'Messgröße', |
44 dataIndex: 'messgroesseId', | 58 dataIndex: 'messgroesseId', |
45 renderer: function(value) { | 59 renderer: function(value) { |