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

Limit Event Moving calendar event

Asked by Muthu
10 days ago.

Hi,
I am using DayPilot calendar in my angular project.I need implement event not moving(restriction) on previous date.Please help me.

Answer posted by Dan Letecky [DayPilot]
10 days ago.

You can mark the cells in the past as "disabled" which will prevent drag and drop operations:
https://doc.daypilot.org/calendar/disabled-cells/

See also the following tutorial (JavaScript):
https://code.daypilot.org/88013/javascript-calendar-blocking-selected-dates

You can also implement custom rules using onEventMoving event:
https://api.daypilot.org/daypilot-calendar-oneventmoving/

New Reply
This reply is
Your name (optional):