Fixed SynopticTable width
This commit is contained in:
parent
83a0a9b08f
commit
9e5baee0f6
|
@ -494,7 +494,10 @@ public class SynopticTableAnnualPanelResult {
|
|||
startY : yPos,
|
||||
pageBreak : 'auto',
|
||||
bodyStyles : {
|
||||
fontSize : 9
|
||||
fontSize : 7
|
||||
},
|
||||
bodyStyles : {
|
||||
minCellWidth : 16
|
||||
},
|
||||
//didDrawCell : checkColor,
|
||||
didParseCell : checkColor,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue