DayPilot.Scheduler.cellWidthMin

The cellWidthMin property (number) sets the minimum cell width in pixels in auto cell width mode (cellWidthSpec = "Auto").

Declaration

DayPilot.Scheduler.cellWidthMin

Default Value

1

Notes

This property applies only when cellWidthSpec is set to "Auto".

Examples

JavaScript

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

Angular

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

React

<DayPilotScheduler
  cellWidthMin={20}
  {/* ... */}
/>

Vue

<DayPilotScheduler
  :cellWidthMin="20"
  <!-- ... -->
/>

See Also

DayPilot.Scheduler.cellWidthSpec

Auto Cell Width [doc.daypilot.org]

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript