The beforeCellRenderCaching property (boolean) enables caching of Scheduler grid cell properties set using the onBeforeCellRender event handler.
Declaration
DayPilot.Scheduler.beforeCellRenderCachingDefault Value
trueNotes
The 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.
Examples
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"
<!-- ... -->
/>See Also
Cell Customization [doc.daypilot.org]
DayPilot.Scheduler.onBeforeCellRender
DayPilot.CellArray.invalidate()
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot