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,
hours values are reset to 12am to 7am.
Any sugesstions?
<script src="~/lib/daypilot/daypilot-all.min.js"></script>
<div id="dp"></div>
<script>
const dp = new DayPilot.Calendar("dp", {
viewType: "Day",
});
dp.businessBeginsHour = 7;
dp.businessEndsHour = 15;
dp.init();
</script>