The swimlaneMoveHandling property (string) enables drag and drop swim lane moving and specifies the default action performed on drop.
DayPilot.Kanban.swimlaneMoveHandling"Disabled" - swim lane moving is disabled.
"Update" - swim lane moving is enabled, the move handle is displayed on the left side of the swim lane header on hover, and the new swim lane order is applied on the client side after drop.
"Disabled"Use "Update" to let users reorder swim lanes directly in the UI.
Handle onSwimlaneMove to validate the target position before the change is applied, and onSwimlaneMoved to react after the swim lane order changes.
JavaScript
const kanban = new DayPilot.Kanban("dp", {
swimlaneMoveHandling: "Update",
// ...
});
kanban.init();Angular
<daypilot-kanban [config]="config"></daypilot-kanban>config: DayPilot.KanbanConfig = {
swimlaneMoveHandling: "Update",
// ...
};React
<DayPilotKanban
swimlaneMoveHandling="Update"
{/* ... */}
/>Vue
<DayPilotKanban
swimlaneMoveHandling="Update"
<!-- ... -->
/>