Answer posted by Dan Letecky [DayPilot] 2 years ago.
The MVC Lite (open-source) version is no longer under active development.
I recommend switching to the JavaScript Lite version. The JavaScript version lets you set the Calendar height to show only business hours using the heightSpec property (heightSpec: "BusinessHoursNoScroll").
Comment posted by Acrobat 2 years ago.
I’m a beginner and this is my first time to use daypilot calendar.
I want to hide nonbusiness hours. I’m using version: 2023.4.504-lite
When I add heightSpec: "BusinessHoursNoScroll" to bellow code,