getOccurrencesInRange(start, end) doesn't seem to account for all day events

4 posts, 0 answers
  1. Daniel
    Daniel avatar
    2 posts
    Member since:
    Jul 2015

    Posted 09 Jul 2015 Link to this post

    I'm working on adding collision detection so there can only be one event per time slot... getOccurrencesInRange(start, end) doesn't seem to account for all day events that fall within the given range.

     

    Is this a known/unknown issue, or a design decision?

  2. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2206 posts

    Posted 10 Jul 2015 Link to this post

    Hello Daniel,

    Could you please clarify where you found this method as it's not one of the officially supported? 

    Also please note that the developer is responsible for implementing restrictions of the scheduler - it's considered as custom solution which falls outside the scope of our support service.

    Regards,
    Vladimir Iliev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Daniel
    Daniel avatar
    2 posts
    Member since:
    Jul 2015

    Posted 10 Jul 2015 in reply to Vladimir Iliev Link to this post

    I agree the developer responsible for that, I was just surprised to see this method wont return an all day event if it occurs within the range of the input

     

    http://docs.telerik.com/kendo-ui/api/javascript/ui/scheduler#methods-occurrencesInRange

  4. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2206 posts

    Posted 13 Jul 2015 Link to this post

    Hello Daniel,

    Could you please modify the following example in order to reproduce the issue and send it back to us? This would help us pinpoint the exact reason for the described behavior of the "occurrencesInRange" method.

    Regards,
    Vladimir Iliev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top