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

Limit Event Moving calendar event

Asked by Muthu
4 years 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]
4 years 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/

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