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

Hide hours in schuduler mode

Asked by Badstorm
10 years ago.

Hi,
I'm new in DayPilot. I'm tring to use the lite version. In scheduler mode the control show hours form 0 to 24. There is a option to show only hours from 09:00 to 20:00 for example?

Thanks

Comment posted by Steve M.
10 years ago.

From your DayPilotCalendar object, look at the "Business" named properties.

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

The Scheduler control (http://www.daypilot.org/scheduler.html) doesn't support hiding individual columns in the Lite version. In the Pro version, you can use BusinessBeginsHour, BusinessEndsHour, and ShowNonBusiness properties.

See also:

http://kb.daypilot.org/79065/how-to-show-business-hours-on-weekends-in-scheduler/

As Steve noted, the Calendar control (http://www.daypilot.org/calendar.html) supports hiding the non-business hours using a combination of BusinessBeginsHour, BusinessEndsHour, and HeightSpec:

http://www.daypilot.org/demo/Lite/NonBusinessHours.aspx

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