Our flexible Kanban board for managing tasks with drag drop


Post by licjapodaca »

How to detect the change when I move a column by dragging or by the menu column options "moveColumnLeft" or "moveColumnRight" ?

I want to centralize the execution of an Ajax call to my backend and update the column movement, so how to do that in the Taskboard component?

screenshoot 18.jpg
screenshoot 18.jpg (114.35 KiB) Viewed 1138 times

Regards


Post by mats »


Post by licjapodaca »

Excellent @mats, but now I have three questions:

  • How can I move a column by demand clicking on an external Button? ... is there something like taskboard.columns.getById(2).moveToNewColumn(newColId) ...

  • How can I revert the column movement from events like "move" or "change" of the Core.data.Store if a business rule is not followed ? ... I already try a "return false" in the events "move" and "change" without success...

    screeshot-movecolumns.gif
    screeshot-movecolumns.gif (1.01 MiB) Viewed 1125 times
  • How to suspend the dragging feature but only for the first column? we wanted to behave like a product backlog but this first column can't moved or deleted.


Post by mats »

  1. Just study the Store API docs: https://www.bryntum.com/docs/taskboard/#Core/data/Store

    taskboard.columns.move(taskboard.columns.last, taskboard.columns.first)
    
  2. Not yet supported, I have opened a feature request to support this. https://github.com/bryntum/support/issues/3216

  3. Not yet supported, I have opened a feature request to support this. https://github.com/bryntum/support/issues/3217


Post by licjapodaca »

Ok @mats, thanks for the first answer and for the second and third answer I will wait for those new features ...

Regards


Post Reply