updateColumn()
Description
Updates the column data by its ID
Usage
updateColumn({
id: string | number,
column?: object
}): void;
Parameters
id
- (required) the ID of the column to be updatedcolumn
- (optional) the new data object of the column
info
The full list of the column parameters can be found here
Example
// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards
});
// update column data with the "backlog" ID
board.updateColumn({
id: "backlog",
column: {
label: "Updated column",
limit: 3,
strictLimit: 3,
collapsed: true
}
});
Change log: The id and column parameters were added in v1.1