Skip to main content

updateRow()

Description

Updates the row data by its ID

Usage

updateRow({
id: string | number,
row?: object
}): void;

Parameters

  • id - (required) the ID of the row to be updated
  • row - (optional) the new data object of row
info

The full list of the row parameters can be found here

Example

// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards,
rows
});
// update row data with the "feature" ID
board.updateRow({
id: "feature",
row: {
label: "Updated row",
collapsed: true
}
});

Change log: The id and row parameters were added in v1.1