Preventing Event collusion

Greetings,
I want to allow only one event for any time interval. IE:

Event A happens between 10:00 to 16:20

Now when I want to add event B which occurs between 13:00 to 19:00, it doesn’t allow this to heppen and warns “Only one event for a time interval”.

How can this be achieved? I have read the API but I wasn’t able to find a working solution.

Regards.

Hello,

We have an extension for that, check out scheduler\samples\03_extensions\15_collision.html sample.

Best regards,
Ilya

Thanks alot Ilya!

It seems like simply including the “dhtmlxscheduler_collision.js” file to the project disallows this. I will be testing if it also works for manual adding (ie via an outside form that adds events).