Gantt export to PDF issue


#1

1 issue:

When i export to gantt to pdf and there is a horizontal scroll bar the time scale header doesnt get exported but ONLY the part that is currently visible on the screen based on where the horizontal slider is. Also the style is not applied correctly.

2 issue:
The color of the links is not the same as the one in web version. (it should be the default one - orange but when exported it is blue)

Here is a picture that says it all.


#2

Hello,

When i export to gantt to pdf and there is a horizontal scroll bar the time scale header doesnt get exported but ONLY the part that is currently visible on the screen based on where the horizontal slider is. Also the style is not applied correctly.

Thank you for reporting about that. We know about that bug, and it will be fixed in future versions. It happens because smart_scales option is turned on by default to improve the performance. Right now as a workaround, you can turn it off before exporting and turn it on after exporting is done. Here is an example with the styles:
http://snippet.dhtmlx.com/7db1303c8

The color of the links is not the same as the one in web version. (it should be the default one - orange but when exported it is blue)

Do you apply custom styles or a skin? If there is raw: true parameter, the exported file should be the same as the page. If there are local styles and images that aren’t available for the export server, they won’t be included in the file.
If the snippet above doesn’t help you, please edit it to reproduce the issue. After that click on the “share” button and copy the link.


#3

There are custom styles that i include in the header and they appear in the exported file. But the problem with the time scale header is till there.

When i set raw: false the full path of header appears in the exported file.

And something even more strange… no matter if i apply some styles or not the header of the grid and the time line has capital letters when exported.


#4

Hello Nikolai,
Unfortunately, I couldn’t reproduce that issue:
http://snippet.dhtmlx.com/9d72f2c25
Please reproduce the issue in the snippet, click on the “Share” button and send me the link. I will reproduce it locally and find what might be wrong.