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

Change the starting hour and ending hour of Scheduler?

Asked by JC
2 years ago.

We have a need to change the starting hour to be 8am and the ending hour 6pm - customer does not want to see the rest of the day (as they don't provide services @ midnight)

Is there a way to configure this? Thanks.

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

Yes, this is possible. Please see the documentation for more details:

Comment posted by JC
2 years ago.

Thanks - note: I found this did NOT work:

dp.businessBeginsHour = 9;
dp.businessEndsHour = 18

However, THIS works
dp.dayBeginsHour = 9;
dp.dayEndsHour = 18;

This is confirmed by other users of the forum. So, not sure if there is a problem w/ businessBeginsHour or it needs something else to be called to work.

Comment posted by Dan Letecky [DayPilot]
2 years ago.

OK, so you mean the Calendar component.

In the Calendar, there are actually two ways to achieve that - using businessBeginsHour/businessEndsHour + heightSpec and using dayBeginsHour/dayEndsHour:

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