beforeCellsRemove

fires before cells of the swimlane are removed

boolean beforeCellsRemove(string|number swimlaneId){ ... };

Parameters

swimlaneIdstring|numberthe id of the item

Returns

booleanfalse - to prevent removing of the cells, otherwise true

Example

diagram.events.on("beforeCellsRemove", (swimlaneId) => {
    console.log(swimlaneId);
    return true;
});

See also
Change log

Added in v4.0

Back to top