Scheduler TimelineMonth view issue with overridden workDayStart and workDayEnd

3 posts, 0 answers
  1. Chris
    Chris avatar
    20 posts
    Member since:
    Mar 2013

    Posted 10 Dec 2015 Link to this post

    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. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    2172 posts

    Posted 12 Dec 2015 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. Chris
    Chris avatar
    20 posts
    Member since:
    Mar 2013

    Posted 14 Dec 2015 in reply to Vladimir Iliev Link to this post

    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

Back to Top