The cardAutoHeight property (boolean) controls whether Kanban cards grow automatically to fit their content.
Declaration
DayPilot.Kanban.cardAutoHeightDefault Value
trueNotes
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
Card Loading [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot