Skip to main content

afterCellsRemove

Description

Fires after cells of the swimlane are removed

Usage

afterCellsRemove: (swimlaneId: string | number) => void;

Parameters

The callback of the event takes the following parameter:

  • swimlaneId - (required) the id of the item

Example

// initializing Diagram
const diagram = new dhx.Diagram("diagram_container", {
type: "default"
});
// loading data
diagram.data.parse(data);

// attaching a handler to the event
diagram.events.on("afterCellsRemove", (swimlaneId) => {
console.log(swimlaneId);
});

Change log: Added in v4.0

Related articles: Configuring Swimlanes