Skip to main content

setConfig()

Description

Sets new config parameters of Kanban

Usage

setConfig(config: object): void;

Parameters

  • config - (required) the object of the Kanban configuration. See the full list of properties here
tip

Using this method, you can configure the Kanban widget as well as load data to it. The method changes only the parameters you passed

Example

// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards
});
// set the configuration parameters of Kanban
board.setConfig({
editorAutoSave: false,
columnKey: "stage",
rowKey: "type",
cardShape,
editorShape,
/*other parameters*/
});