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

How to disable daypilot scheduler?

Asked by BKO
3 years ago.

How to disable daypilot scheduler from all click events? I mean can we make it as read only for some time?

Answer posted by Dan Letecky [DayPilot]
3 years ago.

Yes. There are two options:

1. You can turn off individual actions using the *Handling properties. Example:

dp.eventClickHandling = "Disabled";
dp.eventMoveHandling = "Disabled";

2. You can also display a temporary overlay div over the Scheduler to prevent all clicks:

dp.uiBlock();

and hide it again:

dp.uiUnblock();

The <div> will be marked with "scheduler_default_block" CSS class so you can style it as needed (by default it is semi-transparent).

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