deleteColumn()
Description
Deletes a specified column from the Kanban datastore.
Usage
deleteColumn({ id: string | number }): void;
Parameters
id
- (required) the ID of the column to remove
Example
// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards
});
// remove column by its id
board.deleteColumn({ id: "backlog" });