Our flexible Kanban board for managing tasks with drag drop


Post by plugins-welcome »

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?


Post by tasnim »

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);
            }
        }
    }
Attachments
ui2nJRhGtx.gif
ui2nJRhGtx.gif (1.42 MiB) Viewed 727 times

Post by plugins-welcome »

Thanks!


Post Reply