DayPilot.Kanban.heightSpec

The heightSpec property controls how the Kanban component height is calculated.

Declaration

DayPilot.Kanban.heightSpec

Possible Values

  • "Auto" - automatically sizes the Kanban control based on its content.

  • "Max" - grows automatically until it reaches DayPilot.Kanban.height, then shows a vertical scrollbar.

  • "Fixed" - uses the fixed DayPilot.Kanban.height value.

  • "Parent100Pct" - sets the control height to 100% of the parent element height.

Examples

JavaScript

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

Angular

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

React

<DayPilotKanban
  heightSpec="Fixed"
  height={400}
  {/* ... */}
/>

Vue

<DayPilotKanban
  heightSpec="Fixed"
  :height="400"
  <!-- ... -->
/>

See Also

DayPilot.Kanban Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript