How to print day and week in scheduler?

Asked by pushplata
4 years ago.

Hi,

I have to print day and week .
Please guide me how to do it.

Thanks in advance

Comment posted by Anonymous
4 years ago.

How to print for particular day ?

Comment posted by Dan Letecky [DayPilot]
4 years ago.

The following tutorial explains how to export a selected date range in the Scheduler component:

https://code.daypilot.org/73551/html5-scheduler-pdf-export-javascript

It uses area: "range" option to limit the exported dates. You can use similar config it to export a single day:

dp.exportAs("jpeg", {
  area: "range",
  dateFrom: "2022-01-01",
  dateTo: "2022-01-02",
}).print();

This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.