Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • Calendar workday and shift work

    Hi,

    We would like to turn on "showWorkday" feature of the Calendar widget. The problem we are facing is that we have to consider shift work.

    We are aware of "workdayStart" and "workdayEnd" attributes with their getters, but have no idea of how to visualize 3 shift of work which start at 22:00 (10pm) and ends at 6:00, so it spans to the next day morning.

    Any ideas or plans to cover this area?

    Thanks,

    MichalG

  • #2
    Yes, workdayStart and End wouldn't cut the mustard for this use-case.

    Instead, you could use getDateStyle() or getDateCSSText() to style whichever cells you like. [In SGWT, you would use the customizers for those methods, of course].
    Last edited by Isomorphic; 25th Jul 2019, 10:53.

    Comment


    • #3
      Thanks for this hint. I will go that way.
      MichalG

      Comment

      Working...
      X