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

Disable TimeRangeSelected over events

Asked by Ian
2 years ago.

Hi,

I'm trying to disable the onTimeRangeSelected call when the selection period overlaps with an event for both Schedular and Month. I remembered that the library can do this automatically, but cannot find where the property is.

Much thanks.

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

In the Scheduler, you can enable it using allowEventOverlap property:
https://doc.daypilot.org/scheduler/event-overlaps/

In the Month component, it isn't available at the moment. You can check for overlapping events in the onTimeRangeSelected event but no built-in realtime feedback is available.

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