jQuery.Gantt icon indicating copy to clipboard operation
jQuery.Gantt copied to clipboard

Problem printing Gantt

Open sas01 opened this issue 12 years ago • 2 comments

Tasks don't appears when i print

sas01 avatar Mar 01 '13 10:03 sas01

Looks like the plugin needs a CSS overhaul and/or in the interim a set of styles for print media..

usmonster avatar Jul 23 '13 15:07 usmonster

Actually, @sas01, it looks like this just has to do with the known issue that most browsers won't print webpage backgrounds by default, which means the bars won't appear. The simplest solution would be to enable printing background images and colors, which can usually be done via a checkbox somewhere in the print dialog.

If your users are predominantly using Chrome, another workaround could be to use the (non-standard) -webkit-print-color-adjust CSS property:

.fn-gantt {
    -webkit-print-color-adjust: exact;
}

Though I wouldn't recommend merging such a rule into the stylesheet of the plugin proper.

Seeing as the issue is not technically a bug and any built-in solution would be an enhancement to the plugin, I'm recategorizing this as such.

usmonster avatar Sep 05 '13 11:09 usmonster