Skip to main content

delete-column

Description

Fires when removing a column

Usage

"delete-column": ({ 
id: string | number,
skipProvider?: boolean
}) => void;

Parameters

The callback of the delete-column event can take an object with the following parameter:

  • id - (required) the ID of the column to be deleted
  • skipProvider - (optional) enables/disables preventing the request from being sent to the server
info

For handling the inner events you can use the Event Bus methods

Example

// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards
});
// subscribe on the "delete-column" event
board.api.on("delete-column", (obj) => {
console.log(obj.id);
});