v7.3.0

ColumnDrag
Feature

This feature allows users to drag columns on the TaskBoard to change the column order. Drag is initiated upon mouse down in the column header. Try it out below!

Works just as well when using swimlanes:

Drag events

The different stages of a drag operation trigger different events, in order of appearance:

Event Description
beforeColumnDrag Preventable event fired before a drag starts
columnDragStart Fired when dragging starts
columnDrag Fired when movement during a drag will lead to changes
beforeColumnDrop Preventable event fired before finalizing a valid drop. Allows async listeners
columnDrop Fired after finalizing a valid drop
columnDragAbort Fired when a drag is aborted (ESC, drop out of bounds or by a listener)
columnDragEnd Fired when a started drag ends, no matter the outcome

This feature is disabled by default.

No results

Properties

Properties are getters/setters or publicly accessible variables on this class

Events

Events are triggered for certain actions in this class and can be listened for to react to those actions in your code

Event handlers

Event handlers are callbacks called as a result of certain actions in this class

CSS variables

CSS variables that can be set to adjust appearance
Name Description
--b-task-board-column-drag-background Drag proxy background
--b-task-board-column-drag-box-shadow Drag proxy box shadow
--b-task-board-column-drag-drop-background Drop indicator background
--b-task-board-column-drag-drop-border Drop indicator border
--b-task-board-column-drag-invalid-background Invalid drop indicator background
--b-task-board-column-drag-invalid-color Invalid drop indicator border color
id: columnDrag

Source path

TaskBoard/feature/ColumnDrag.js

Contents