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.heightDefault Value
500Notes
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
Card Auto Height [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot