The swimlaneCollapsingEnabled property (boolean) enables or disables swim lane collapsing.
DayPilot.Kanban.swimlaneCollapsingEnabledfalseEnable this property when users should be able to collapse and expand swim lanes to reduce the visible board height.
JavaScript
const kanban = new DayPilot.Kanban("dp", {
swimlaneCollapsingEnabled: true,
// ...
});
kanban.init();Angular
<daypilot-kanban [config]="config"></daypilot-kanban>config: DayPilot.KanbanConfig = {
swimlaneCollapsingEnabled: true,
// ...
};React
<DayPilotKanban
swimlaneCollapsingEnabled={true}
{/* ... */}
/>Vue
<DayPilotKanban
:swimlaneCollapsingEnabled="true"
<!-- ... -->
/>Swim Lane Collapsing [doc.daypilot.org]