I just want to know if there is a way to prevent scheduled event overlap on Kendo scheduler?.. e.g. If a user has an event on 7:00 am to 10am, adding new event that conflict on that time will prevent adding this new event schedule in the scheduler. . Is it possible?
By the way I'm using the trial version 2013.2.716.. Is it supported on the trial version? if not, how about on the licensed one, does this kind of functionality supported?
7 Answers, 1 is accepted
I'm afraid that this is not supported with the current version of our scheduler widget. However, it will be possible to implement such restrictions with the official version (Q2 2013 SP1 release) of KendoUI Scheduler.Regards,
Okay,Thanks!.. I also want to ask if moveStart,move and moveEnd event is also supported in trial version 2013.2.716 which I'm using right now.. Because this event will never get fired when I try to used it. Or maybe, this event is only supported on the paid licensed? Am I right.?.
Indeed, as I already mentioned in your other post on this, the moveStart/move/moveEnd as well as the resizeStart/resize/resizeEnd events are not part of the 2013.2.716 release. Those events are introduced in the latest internal builds and will be publicly available when the beta tag is removed from the Scheduler widget with the KendoUI Q2 2013 SP1 release.Regards,
schedule newEvent;//This contains the info you are trying to schedule
var repeated= (from a in db.schedules where (a.startDate <= newEvent.endDate && a.endDate >= newEvent.startDate && a.idSchedule!=newEvent.idSchedule) select a);
//save new event
return null or something that shows that there is a conflict
if you receive null do a dataSource.cancelChanges()
Hope it helps
Yes, I did the same way as you did. I do it in the server side.
Anyway, Thanks.. Your code snippet might help others when they encountered the same issue as mine.
Now that time has passed and the new release is out. Can you point me in the direction of the documentation for implementing a restriction which would disallow a user to create an event that overlaps with another event for the same resource (such as a RoomId)?