Our flexible Kanban board for managing tasks with drag drop


Post by markus »

Hi,

do we have the possibility to specify columns as valid drop target during DnD (without catching the drop event)?

Thanks
Markus


Post by marcio »

Hello Markus,

You can use https://bryntum.com/products/taskboard/docs/api/Core/helper/DragHelper#config-dropTargetSelector to specify the CSS selector used to determine if a drop is allowed at the current position.

But we recommend using the following listener to validation of drop action https://bryntum.com/products/taskboard/docs/api/TaskBoard/view/TaskBoardBase#event-beforeTaskDrop

Best regards,
Márcio


Post Reply