This is a migrated thread and some comments may be shown as answers.

Detecting recurrence rules overlapping

1 Answer 317 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ran
Top achievements
Rank 1
Ran asked on 15 Dec 2015, 02:26 PM

Hi,

 I want to make scheduler detect recurrence rules overlapping

This means that no two tasks may share common time, even in minutes granularity

Just like Google Calendar, events may be created by using recurrence rules (every friday and sunday from 10 AM to 13 PM, for example).

So I would like to detect overlapping tasks by only using rrules.

Is it possible to detect overlapping dates by only using rrules? Is there anything similar already implemented in another library?

Thanks.

Ran

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 16 Dec 2015, 09:06 AM
Hi Ran,

The Scheduler dos not support detecting when given events overlaps out of the box - to achieve this behavior you can utilize the Scheduler events to check for such overlaps and prevent the editing as shown in the following example:

Also you might find helpful the following method of the Scheduler dataSource which returns the expanded events for given period:
Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Scheduler
Asked by
Ran
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Share this question
or