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

Bug report for Kendoui scheduler, drag range in monthview cuts days

3 Answers 25 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
100%
Top achievements
Rank 1
100% asked on 04 Feb 2014, 08:23 AM
In the demo at
http://demos.telerik.com/kendo-ui/web/scheduler/index.html

remove some events to leave space for the error reproduction.

Keep at least one non-recurring event, drag it to for instance a tuesday and edit it by double clicking.

Let it be three days long.

When you have set the event lenght and the edit dialog is closed, it will display as a three day long event.

Drag it towards the end of the week, when it dragged so it starts on a friday, the event will only display on friday and saturday. Sunday will be missing.

If you drag to so it starts on the saturday, it will display correctly, occupying saturday, sunday (next week) and monday (next week).

3 Answers, 1 is accepted

Sort by
0
100%
Top achievements
Rank 1
answered on 04 Feb 2014, 08:37 AM
Should be that in the month view, you cannot set the time of the start and the end, just the date, so every event is input with 00:00 as time, making a interval between two dates at 0 a clock each. Then it would be understandable if the last day of the range was excluded, because technically, the event does not cross the border to that day.
0
100%
Top achievements
Rank 1
answered on 04 Feb 2014, 08:48 AM
Changing

endInRange: function(date) {
    return this._start <= date && date <= this._end;
},


to

endInRange: function(date) {
    return this._start <= date && date < this._end;
},


in

kendo.scheduler.view.js

seems to be a fix
0
Vladimir Iliev
Telerik team
answered on 06 Feb 2014, 08:11 AM
Hi,

Thank you for bringing this issue to our attention. I have informed our dev team and they are after it. I will follow you up in current thread when we have more information about it.

Kind 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
100%
Top achievements
Rank 1
Answers by
100%
Top achievements
Rank 1
Vladimir Iliev
Telerik team
Share this question
or