DayPilot.Kanban.height

The height property (number) sets the Kanban control height in pixels.

It is used only when DayPilot.Kanban.heightSpec is set to "Auto" or "Max".

Declaration

DayPilot.Kanban.height

Default Value

500

Notes

Use this property together with DayPilot.Kanban.heightSpec when the control should fit a fixed vertical area.

Examples

JavaScript

const kanban = new DayPilot.Kanban("dp", {
  heightSpec: "Max",
  height: 600,
  // ...
});
kanban.init();

Angular

<daypilot-kanban [config]="config"></daypilot-kanban>
config: DayPilot.KanbanConfig = {
  heightSpec: "Max",
  height: 600,
  // ...
};

React

<DayPilotKanban
  heightSpec="Max"
  height={600}
  {/* ... */}
/>

Vue

<DayPilotKanban
  heightSpec="Max"
  :height="600"
  <!-- ... -->
/>

See Also

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript