Can´t export to PDF


#1

Hi, I´m using Schedules 5.3 in Angular 11 and cannot find the correct way to export it to pdf (free service). Can you give me an example?

thank you


#2

Hello @Hermes ,

To import and export the data, you need to include the export’s api.js file:
https://docs.dhtmlx.com/scheduler/api__scheduler_exporttopdf.html
In React, Angular, and other frameworks, it would be easier to save it locally and import it on the page.
So the steps you should do: save the api.js file locally => move it to the codebase folder => import it into the component’s file. After that you will be able export scheduler.


#3

Hello @Siarhei,
Finally I could make it function.

Thank you