Also colorizing ALLHeard-BER
This commit is contained in:
parent
56efaec5a8
commit
2a3e9383d2
2 changed files with 13 additions and 1 deletions
|
@ -338,6 +338,18 @@
|
|||
"columnDefs": [
|
||||
{ className: "dt-nowrap", "targets": [ 0, 1, 2, 3, 6 ] }
|
||||
],
|
||||
'rowCallback': function(row, data, index){
|
||||
// Calculating BER
|
||||
if(parseFloat(data[6].substring(0, data[6].indexOf("%"))) <= 0.5){
|
||||
$(row).find('td:eq(6)').css('color', 'black');
|
||||
}
|
||||
if(parseFloat(data[6].substring(0, data[6].indexOf("%"))) > 0.5){
|
||||
$(row).find('td:eq(6)').css('color', 'orange');
|
||||
}
|
||||
if(parseFloat(data[6].substring(0, data[6].indexOf("%"))) > 2){
|
||||
$(row).find('td:eq(6)').css('color', 'red');
|
||||
}
|
||||
},
|
||||
"autoWidth": false
|
||||
} );
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
var dashboard_version = "2021-02-06 13:21:13";
|
||||
var dashboard_version = "2021-02-06 13:28:10";
|
||||
|
|
Loading…
Reference in a new issue