Hello,
I have two questions about Gantt Printing :
If I want to print Gantt with my own CSS style, I need to send something like this :
gantt.exportToPNG({
header:'<link rel="stylesheet" href="http://docs.dhtmlx.com/gantt/samples/common/customstyles.css" type="text/css">'
});
Is it any way to do this on a private Network ? I can go outside but dhtmlx.com can’t directly load my CSS.
My gantt Tasks show a “variable” occupation. (Please, see attached pic)
I can achieve this behaviour by adding a “dynamic style sheet” into document.styleSheets. With this, I simply put a custom CSS-class into desired gantt_task_cell.
Can I expect the print as on my screen?
If I try gantt.exportToPDF({
header: '<link rel="stylesheet" href="http://mywebsite.fr/test.css" type="text/css">'
});
where test.css contains
.gantt_task_line{background: none!important;background-color:red!important}