Skip to main content

moveRow()

Description

Moves a row to the new position

Usage

moveRow({
id: string | number,
before: string | number
}): void;

Parameters

  • id - (required) the ID of the row to be moved
  • before - (required) the ID of the row, the moved one will be placed before it

Example

// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards,
row
});
// move the "task" swimlane and place it before the "feature" one
board.moveRow({
id: "task",
before: "feature"
});

Change log: The method was added in v1.1