Detecting recurrence rules overlapping

2 posts, 0 answers
  1. Ran
    Ran avatar
    29 posts
    Member since:
    Apr 2015

    Posted 15 Dec 2015 Link to this post


     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?



  2. Vladimir Iliev
    Vladimir Iliev avatar
    2190 posts

    Posted 16 Dec 2015 Link to this post

    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:
    Vladimir Iliev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top