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