Hello, We have very recently started seeing an issue where our PDF exports using the exportToPDF function are coming back with a page size .01 x .01. We have not changed anything on our end and it was working earlier this week. I have confirmed that I am passing in a proper format to the function, but it is still not returning correct PDFs. Can you please assist to see if this is an issue on your end?
Hello,
Please try to reproduce the issue by adding your configuration and a test dataset to the following snippet:
https://snippet.dhtmlx.com/rcsg68hk?text=scheduler.%2Bexport
Then save the snippet and share the link back here so I can take a closer look at the problem.
After playing around with the snippet, I have found that the issue still remains even when using the code there. I have simplified my dataset down to just a few fields and even that creates a 500+ page document of .01x.01 inch pages. I am using version 5.0 of the scheduler and I believe that it may be an issue on the DHTMLX side. But please let me know if I am doing something wrong.
Here is the snippet link: DHTMLX Snippet Tool
Hello,
Thank you for the details and the example.
The issue occurs because you are using Scheduler 5.0, while the export script at
https://export.dhtmlx.com/scheduler/api.js
has been updated to support newer Scheduler versions 6.x
As a result, the export script expects a different internal structure and different element sizes than those provided by version 5.0.
I recommend switching to a more recent Scheduler version, as I am not sure anything can be reliably fixed on the 5.0 side in this case.