The invalidate() method clears the cached onBeforeCellRender result for all cells in the array.
DayPilot.CellArray.invalidate()This method affects all cells in the current cell array.
Use it to clear cached cell properties created by onBeforeCellRender. It is related to beforeCellRenderCaching.
dp.cells.all().invalidate();DayPilot.Scheduler.onBeforeCellRender