Prevent event overlapping in dhtmlxScheduler

Is there any way to block event overlapping during create or during drag n’ drop/update processes?



Thanks,

Renato

There is no such built in functionality, but you can add custom code to onEventChanged, onEventAdded , which will check is new event overlap any others and execute some kind of reaction.
Overlapping itself can be checked by using

scheduler.getEvents(ev.start_date, ev.end_date);
if it will return array with more than one elements - there is an overlapping.