search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Business hours and minutes

Asked by n
6 years ago.

How can we handle case when shift starts at half hour (i.e 7:30) since there is only a property to set business hours and not minutes?

Thanks

Answer posted by Dan Letecky [DayPilot]
6 years ago.

1. You can define the "business" status for each cell using onBeforeCellRender event handler:
https://doc.daypilot.org/scheduler/cell-customization/

This affects the cell appearance (.scheduler_default_cell_business class will only be applied to business cells).

2. If you want to hide custom non-business time, you need to use onIncludeTimCell event handler:
https://doc.daypilot.org/scheduler/hiding-non-business-hours/

Or you can define your own timeline cell-by-cell:
https://doc.daypilot.org/scheduler/timeline/

Comment posted by Steve S.
6 years ago.

Thanks for the answer.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.