Our pure JavaScript Scheduler component


Post by burnit »

Hi,

attached you can find a demo of this issue.
Please install latest version with 5.3.6.
Click on the export button, select date range and start export.
Only the columns will be exported.

If you select visible schedule, everything works fine.
With date range or complete schedule it is also working if you remove viewPreset from schedulerConfig.
If not, you get an empty page or just the columns.

Pls confirm the issue.

Many thanks,
André

Attachments
drag-from-grid.zip
(2.28 MiB) Downloaded 20 times

Post by joakim.l »

Hi

I think the issue here is that the time axis is too long. If I export the Complete scheduler I get this:

export1.png
export1.png (10.25 KiB) Viewed 108 times

This screenshot is taken at a high zoom level in the exported PDF document.

If you activate Multiple pages in the Export dialog, the resulted PDF will look much better:

export-settings.png
export-settings.png (26.13 KiB) Viewed 108 times

Regards
Joakim


Post by burnit »

Hi Joakim,
I don't understand. When i select date range as schedule range and enter a 5 day range, the time axis can not be too long. Why is the export empty?

But remember you have to use viewPreset in your schedulerConfig to get the issue.

Please try.

Greetings,
Andre


Post by joakim.l »

I'm using your example code when trying this out.

My exported PDF:s are not empty, just so small so the're barely noticable.
I have a attached a bunch of PDF:s generated from your example.

So. If you get the same results as I do, the issue is that your exporting the complete schedule as a single page with a very low "resolution" on the schedule. I suggest you should either:

  • Export to multiple pages
  • or, limit the date range to something that fits on one page
  • or, "zoom out" to a viewPreset that does not show hours
Attachments
Export-Complete schedule-Single Page.pdf
(194.67 KiB) Downloaded 20 times
Export-Date range-7 days-Single Page.pdf
(80.48 KiB) Downloaded 19 times
Export-Date range-7 days-Multiple pages.pdf
(538.11 KiB) Downloaded 20 times
Export-Daterange-5 days-Multiple pages-Landscape.pdf
(373.64 KiB) Downloaded 18 times

Regards
Joakim


Post by burnit »

HI Joakim,

many thanks. I have to check my code.

André


Post Reply