DayPilot.Scheduler.height

The height property (number) sets the height of the active scheduling area (excluding the header) in the JavaScript Scheduler component.

Declaration

DayPilot.Scheduler.height

Default Value

null

Notes

This value is used when DayPilot.Scheduler.heightSpec is set to "Fixed" or "Max". To set the full control height, use DayPilot.Scheduler.setHeight().

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  heightSpec: "Fixed",
  height: 200,
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  heightSpec: "Fixed",
  height: 200,
  // ...
};

React

<DayPilotScheduler
  heightSpec="Fixed"
  height={200}
  {/* ... */}
/>

Vue

<DayPilotScheduler
  heightSpec="Fixed"
  :height="200"
  <!-- ... -->
/>

See Also

DayPilot.Scheduler.heightSpec

DayPilot.Scheduler.setHeight()

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript