delete-row
Description
Triggered when a row is removed
Usage
"delete-row": ({
id: string | number,
skipProvider?: boolean
}) => void;
Parameters
The callback for the delete-row event accepts an object containing the following parameters:
id
- (required) the ID of the row that is being deletedskipProvider
- (optional) controls whether the request is sent to the server or not
info
To work with internal events, you can refer to the Event Bus methods
Example
// create Kanban
const board = new kanban.Kanban("#root", {
columns,
cards
});
// listen for the "delete-row" event
board.api.on("delete-row", (obj) => {
console.log(obj.id);
});