DayPilot.Scheduler.cellSweeping

The cellSweeping property (boolean) determines whether the grid cells that were scrolled out of the viewport will be removed from DOM. Removing the cells helps keeping the DOM size smaller and improves memory consumption and scrolling speed. The Scheduler maintains a cache of cell objects with a size specified using the cellSweepingCacheSize property.

Declaration

DayPilot.Scheduler.cellSweeping

Default Value

true

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  cellSweeping: false,
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  cellSweeping: false,
  // ...
};

React

<DayPilotScheduler
  cellSweeping={false}
  {/* ... */}
/>

Vue

<DayPilotScheduler
  :cellSweeping="false"
  <!-- ... -->
/>

See Also

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript