Hi brymtun team
How to prevent dragging a card from swimlaneA to swimlaneB?
Support Forum
You can check this https://bryntum.com/docs/taskboard/api/TaskBoard/feature/TaskDrag#event-beforeTaskDrop
Here is an example of how you can achieve it:
new Taskboard({
listeners : {
beforeTaskDrop(event) {
const { targetSwimlane } = event;
if (targetSwimlane.data.id === 'critical') {
return false
}
}
}
});