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

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

3 Answers 47 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 09 Jul 2015, 01:41 PM

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?

3 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 10 Jul 2015, 05:41 AM
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!
 
0
Daniel
Top achievements
Rank 1
answered on 10 Jul 2015, 11:56 AM

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

0
Vladimir Iliev
Telerik team
answered on 13 Jul 2015, 07:09 AM
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!
 
Tags
Scheduler
Asked by
Daniel
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Daniel
Top achievements
Rank 1
Share this question
or