comparison app/view/messwerte/List.js @ 439:1fc4407c6c83 0.9

merged.
author Raimund Renkert <raimund.renkert@intevation.de>
date Mon, 02 Dec 2013 15:02:53 +0100
parents 3ed0ab0f5ee5
children bba7fbcf2f70
comparison
equal deleted inserted replaced
438:90a09317f8d1 439:1fc4407c6c83
36 ] 36 ]
37 } 37 }
38 ]; 38 ];
39 this.columns = [ 39 this.columns = [
40 { 40 {
41 header: '&lt;NWG',
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 "<";
50 } else {
51 return "";
52 }
53 }
54 },
55 {
41 header: 'Messwert', 56 header: 'Messwert',
42 dataIndex: 'messwert', 57 dataIndex: 'messwert',
43 renderer: function(value, row) { 58 renderer: function(value, row) {
44 // the seconds argument here is not documented in JQuery 59 // the seconds argument here is not documented in JQuery
45 // but it has the current rendererd row and this 60 // but it has the current rendererd row and this
46 // referenced the record. 61 // referenced the record.
47 var nwg = row.record.get('nwgZuMesswert'); 62 var nwg = row.record.get('nwgZuMesswert');
48 if (value < nwg) { 63 if (value < nwg) {
49 return "<"+value; 64 return nwg;
50 } else { 65 } else {
51 return value; 66 return value;
52 } 67 }
53 } 68 }
54 }, 69 },

http://lada.wald.intevation.org