The heightSpec property controls how the Kanban component height is calculated.
DayPilot.Kanban.heightSpec"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.
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"
<!-- ... -->
/>