dhtmlxGantt 2.0 - printing

Is there an option for printing the chart or do I have to take a screen grab? Thanks.

In init code of the gantt, change

	<link rel="stylesheet" href="../../codebase/dhtmlxgantt.css" type="text/css" media="screen" title="no title" charset="utf-8">

to

	<link rel="stylesheet" href="../../codebase/dhtmlxgantt.css" type="text/css" title="no title" charset="utf-8">

Basically, you need to remove the “media=screen” part. After that you can use normal page printing for the dhtmlxGantt.

Thanks! It is a bit different, though: it doesn’t fill the time blocks. Maybe this is by design to spare ink?

For which browser and which skin such behavior occurs ?

Firefox 24 and no alterations of my own.

Yep, it is a feature of FireFox
You can change it through File -> Print -> Page Setup, this screen has a “Print Background” checkbox.