The drawBlankCells property (boolean) controls whether the JavaScript Scheduler renders blank grid cells as standalone div elements.
DayPilot.Scheduler.drawBlankCellstrueWhen set to false, blank cells are not rendered as standalone div elements and only cells with custom properties set using DayPilot.Scheduler.onBeforeCellRender are rendered.
Setting drawBlankCells to false can help optimize scrolling performance.
When blank cells are not drawn, business/non-business cell highlighting and resource parent cell highlighting are not available.
JavaScript
const dp = new DayPilot.Scheduler("dp", {
drawBlankCells: false,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
drawBlankCells: false,
// ...
};React
<DayPilotScheduler
drawBlankCells={false}
{/* ... */}
/>Vue
<DayPilotScheduler
:drawBlankCells="false"
<!-- ... -->
/>DayPilot.Scheduler.onBeforeCellRender
Scrolling Performance [doc.daypilot.org]