
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:
- DayPilot.Kanban.swimlanes.list [api.daypilot.org]
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>
DayPilot