DayPilot.Scheduler.cellDuration

The cellDuration property (number) specifies the cell duration in minutes. Used only if scale is set to "CellDuration".

Declaration

DayPilot.Scheduler.cellDuration

Example Values

  • 1 (1 minute)
  • 30 (30 minutes)
  • 60 (1 hour)
  • 1440 (1 day)
  • 10080 (1 week)

Default Value

60

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  scale: "CellDuration",
  cellDuration: 30,
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  scale: "CellDuration",
  cellDuration: 30,
  // ...
};

React

<DayPilotScheduler
  scale="CellDuration"
  cellDuration={30}
  {/* ... */}
/>

Vue

<DayPilotScheduler
  scale="CellDuration"
  :cellDuration="30"
  <!-- ... -->
/>

See Also

DayPilot.Scheduler.cellWidth

DayPilot.Scheduler.scale

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript