DayPilot.Kanban.cardAutoHeight

The cardAutoHeight property (boolean) controls whether Kanban cards grow automatically to fit their content.

Declaration

DayPilot.Kanban.cardAutoHeight

Default Value

true

Notes

  • When set to true, cards expand automatically to show their full content.

  • When set to false, use DayPilot.Kanban.cardHeight to define a fixed card height.

Examples

JavaScript

const kanban = new DayPilot.Kanban("dp", {
  cardAutoHeight: false,
  cardHeight: 100,
  // ...
});
kanban.init();

Angular

<daypilot-kanban [config]="config"></daypilot-kanban>
config: DayPilot.KanbanConfig = {
  cardAutoHeight: false,
  cardHeight: 100,
  // ...
};

React

<DayPilotKanban
  cardAutoHeight={false}
  cardHeight={100}
  {/* ... */}
/>

Vue

<DayPilotKanban
  :cardAutoHeight="false"
  :cardHeight="100"
  <!-- ... -->
/>

See Also

DayPilot.Kanban.cardHeight

Card Loading [doc.daypilot.org]

DayPilot.Kanban Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript