Proper page break on print


#1

Hi DHX Team,

Just want to ask, is there a proper way to add page break after or before specific task row?

I am trying to print the gantt chart, but some tasks just being cut in half at the end of the page.

Regards,
Ikhsan


#2

Hello Ikhsan,
Unfortunately, there is no built-in feature to add breaks or export the data on several PDF pages.

I couldn’t reproduce the issue. In the following snippet, I tried to export 660 tasks and all of them were located on the same page:
https://snippet.dhtmlx.com/5ba427087

Please, clarify if you use the standalone export module: node.js application or docker image. Though, I couldn’t reproduce it even there.

However, you can try exporting the data by the number of tasks. Here is a sample with the pagination:
http://snippet.dhtmlx.com/061e52cd5