Hi ,
Is there a way to prevent a swimlane from being deleted?
I tried this:
public collectionChange(args) {
if (args && args.state === "Changed" && args.element) {
if (args.type == "Removal") {
if (args.element && args.element.shape && args.element.shape.type === "SwimLane") {
args.cancel = true;
} else {
...
}
}
}
}
But ars.cancel does not prevent the swimlane from being removed.
Do I need to use another event / trigger?