search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How to use Previous and Next in the DaypilotMonth..?

Asked by Chandra
1 year ago.

I need to get previous and next button for the full year. When I click previous it should show the previous month and When I click next it should show the next month from the full year calendar in the month view.

I have tried previous next using the below link.
https://code.daypilot.org/64293/react-scheduler-next-previous-buttons

Answer posted by Dan Letecky [DayPilot]
1 year ago.

The React monthly calendar component works the same way - you need to update the "startDate" property and provide the event data for the new range using "events" property.

Another option is to update the "startDate" and then use the events.load() method:
https://api.daypilot.org/daypilot-month-events-load/

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