Is it possible to show only business hours in daypilot lite mvc version ?
when i set BusinessBeginsHour = 7, BusinessEndsHour = 20, it just rotates the scroll bar to selected hours but then you are able to scroll up or down to unwanted hours. Can i just show the selected hours without scroll bar as you can do in asp.net webforms ?
here is my View code so far,
@Html.DayPilotCalendar("dp", new DayPilotCalendarConfig
{
BackendUrl = Url.Content("~/Calendar/Backend"),
ViewType = DayPilot.Web.Mvc.Enums.Calendar.ViewType.Week,
Theme = "calendar_g",
BusinessBeginsHour = 7,
BusinessEndsHour = 20,
HeightSpec = DayPilot.Web.Mvc.Enums.Calendar.HeightSpec.BusinessHours,
EventMoveHandling = DayPilot.Web.Mvc.Events.Calendar.EventMoveHandlingType.CallBack,
EventResizeHandling = DayPilot.Web.Mvc.Events.Calendar.EventResizeHandlingType.CallBack,
TimeRangeSelectedHandling = DayPilot.Web.Mvc.Events.Calendar.TimeRangeSelectedHandlingType.JavaScript,
TimeRangeSelectedJavaScript = "dp.timeRangeSelectedCallBack(start, end, { name: prompt('New Event Name:', 'New Event') });",
})
thanks in advance