The beforeCellRenderCaching property (boolean) enables caching of Scheduler grid cell properties set using the onBeforeCellRender event handler.
DayPilot.Scheduler.beforeCellRenderCachingtrueThe cache is cleared during the update() call.
You can also clear cached cell properties manually using DayPilot.CellArray.invalidate().
This setting is related to cell customization performed in onBeforeCellRender.
JavaScript
const dp = new DayPilot.Scheduler("dp", {
beforeCellRenderCaching: false,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
beforeCellRenderCaching: false,
// ...
};React
<DayPilotScheduler
beforeCellRenderCaching={false}
{/* ... */}
/>Vue
<DayPilotScheduler
:beforeCellRenderCaching="false"
<!-- ... -->
/>Cell Customization [doc.daypilot.org]
DayPilot.Scheduler.onBeforeCellRender