Block past dates

Hello, how do I block my user from creating new events on past dates but continue to allow him to read (readonly) the event by double clicking on the event?

I tried to use addMarkedTimespan but when using addMarkedTimespan, it also blocks the double click on the event.

Hello,

You can use onBeforeEventChanged event to check start_date of new event. And return ‘false’ for past dates.
docs.dhtmlx.com/scheduler/api__s … event.html

Works like a charm! Tnks! The event names is a bit confusing.