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

Scheduler TimelineMonth view issue with overridden workDayStart and workDayEnd

2 Answers 78 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 10 Dec 2015, 11:06 AM

Hi there,

If I override the workDayStart and workDayEnd of the scheduler, pick 'Show Business Hours' in the day view and then switch to the timelineMonth view then I get an error (see http://dojo.telerik.com/AxAtI).

Many thanks,

Chris

2 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 12 Dec 2015, 10:10 AM
Hi Chris,

This behavior is expected as the "timeline month" view have no work hours set and therefor the one from the scheduler are used. Please check the updated code below:

{
            type: "timelineMonth",
            startTime: new Date("2013/6/13 00:00 AM"),
            endTime: new Date("2013/6/13 00:00 AM"),
            workDayStart: new Date("2013/6/13 00:00 AM"),
            workDayEnd: new Date("2013/6/13 00:00 AM"),
            majorTick: 1440,
            group: { resources: ["Attendees"], orientation: "vertical" }
}

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
Chris
Top achievements
Rank 1
answered on 14 Dec 2015, 04:03 PM

Thanks Vladimir - that's all working fine now (although I might have expected working hours not to propagate through to the timeline month view if they cause it to error).

Best regards,

Chris

Tags
Scheduler
Asked by
Chris
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Chris
Top achievements
Rank 1
Share this question
or