Our flexible Kanban board for managing tasks with drag drop


Post by yingtao »

How can I cancel batch drag?


Post by mats »

Pressing ESC key should abort it.


Post by yingtao »

I mean I don't want the function of batch drag.


Post by marcio »

Hey,

You can deactivate the batch drag function using the beforeTaskDrag event listener

https://www.bryntum.com/docs/taskboard/api/TaskBoard/feature/TaskDrag#event-beforeTaskDrag

Like this

listeners : {
        beforeTaskDrag : function({ taskRecords }) {
            return taskRecords.length === 1;
        }
    }

Best regards,
Márcio


Post by yingtao »

OK, It’s solved.


Post by yingtao »

sorry, I affirm it ,it also can't solved.


Post by mats »

Please provide more details of what is not working.


Post Reply