а

Export to pdf not printing all bars


#1

Hi,
We are creating 2 bars:

  1. using start_date and end_date.
  2. using planned_start_date and planned_end_date.


but when i export to pdf it pring bar for start_date and End_end only.


#2

Hello Sweeti,
When you export the data, the export server doesn’t know about the styles that you apply. So, you need to include the styles in the export function:
https://docs.dhtmlx.com/gantt/desktop__export.html#customstylefortheoutputfile
Here are examples of how it works:
http://snippet.dhtmlx.com/8a3725fa9
http://snippet.dhtmlx.com/03ba35b04