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

How to change the time range showing in left hand side of the DayPilot Event Calender

Asked by Nikesh
6 years ago.

I am Using MVC5 Event Calender.
Now the default time range is showing from 12.00 Am to 11 PM , How to restrict it by showing only from 9 .00 AM to 5.00 PM

Answer posted by Aircenk
6 years ago.

@Html.DayPilotCalendar("days_resources", new DayPilotCalendarConfig
{
BusinessBeginsHour = 9,
BusinessEndsHour= 17,
}
you need to add bussiness begins and ends hour in your helper html tag

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