Fixed SynopticTable width

This commit is contained in:
Giancarlo Panichi 2020-05-28 17:30:50 +02:00
parent 83a0a9b08f
commit 9e5baee0f6
2 changed files with 10 additions and 4 deletions

View File

@ -494,7 +494,10 @@ public class SynopticTableAnnualPanelResult {
startY : yPos,
pageBreak : 'auto',
bodyStyles : {
fontSize : 9
fontSize : 7
},
bodyStyles : {
minCellWidth : 16
},
//didDrawCell : checkColor,
didParseCell : checkColor,

View File

@ -425,11 +425,11 @@ public class SynopticTablePanelResult {
if (typeof data.cell.raw !== 'undefined'
&& data.cell.raw !== null) {
console.log(data.cell.raw.innerHTML);
var good = 'background-color: limegreen;';
var normal = 'background-color: yellow;';
var bad = 'background-color: red;';
if (data.cell.raw.innerHTML
.indexOf(good) >= 0) {
console.log('good');
@ -489,7 +489,10 @@ public class SynopticTablePanelResult {
startY : yPos,
pageBreak : 'auto',
bodyStyles : {
fontSize : 9
fontSize : 7
},
bodyStyles : {
minCellWidth : 16
},
//didDrawCell : checkColor,
didParseCell : checkColor,