html5-kanban-swimlane-loading.png

JavaScript

You can define the swim lanes using .swimlanes.list array. The swimlanes will be displayed in the order used in the array.

See also:

Example

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

<script type="text/javascript">

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

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

    dp.init();

</script>