Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #107109
    loickbrouard
    Participant

    Hi,

    I am using this component on timeline week view for production scheduling.

    Unfortunately, a “production week” starts on Monday 5am until the next Monday 5am.

    Is there a way to define the date and time of the starting day ?

    Regards,

    Loïck

    #107111
    admin
    Keymaster

    Hi Loick,

    You can define the first day of week by using the ‘firstDayOfWeek’ property. For monday, it should be 1.
    As for start hour, you can define which hours per day are available and you can interact with them by using a property called ‘available’.
    For example, to make the available hours from 5 to 18, you can use available: [{ start: 5, end: 18 }]

    Hope this helps.

    Regards,
    Peter

    #107112
    loickbrouard
    Participant

    Hi Peter,

    Thank you for the quick answer ! For the beginning of the week, ‘firstDayOfWeek’ property works perfectly.

    I was not clear at all in the initial question but my issue is to end the displayed week on next monday (at 5am if possible).

    Loïck

    #107114
    admin
    Keymaster

    Hi Loick,

    Unfortunately, that is not possible. I will create a work item for adding this feature in some of the next releases of the Scheduler component.

    Regards,
    Peter

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.