html5 kanban swimlane collapsing

The Kanban swim lanes can be collapsed/expanded.

  • This feature is disabled by default. You can enable it using SwimlaneCollapsingEnabled property.


You can set the initial swimlane state using collapsed property.

<div id="dp"></div>

<script type="text/javascript">

    var dp = new DayPilot.Kanban("dp");

    dp.swimlaneCollapsingEnabled = true;

    dp.swimlanes.list = [
        {name: "Swimlane A", id: "A"},
        {name: "Swimlane B", id: "B", collapsed: true}