column 1 column2
------------------------------
task 1 task 2
task 3 task 4
task 5
On moving task 1
to column2, I want task 3
to move to column2 too. Is there any way I can do that?
Hi,
To achieve that you can use this https://bryntum.com/docs/taskboard/api/TaskBoard/feature/TaskDrag#event-beforeTaskDrag event
listeners : {
beforeTaskDrag({ source : tBoard, taskRecords }) {
if (taskRecords[0].id === 6) {
const task = tBoard.project.taskStore.getById(8);
taskRecords.push(task);
}
}
}