The swimlaneMoveHandling property (string) enables drag and drop swim lane moving and specifies the default action performed on drop.
Declaration
DayPilot.Kanban.swimlaneMoveHandlingPossible Values
"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.
Default Value
"Disabled"Notes
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.
Examples
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"
<!-- ... -->
/>See Also
Swim Lane Moving [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot