beforeCellsMove

fires before cells of the swimlane are moved

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

Parameters

swimlaneIdstring|numberthe id of the item

Returns

booleanfalse - to prevent moving of the cells, otherwise true

Example

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

See also
Change log

Added in v4.0

Back to top