Our flexible Kanban board for managing tasks with drag drop


Post by agarcia »

Hi,

We would like to add the capability to switch the column field, based on a combo box.

I've tried by changing the columns.....

taskboard.columns = newColumns;

It works for the columns (I can see the new columns) but the cards are gone. It seems is something about refreshing the view.

I saw an example in Bryntum (https://bryntum.com/products/taskboard/examples/config-panel/)
similar where you have a combo for switching the column field, but here the column field combo is disabled.

How can I get this behavior in the Bryntum Taskboard? We just need to swith the column field 'on the fly' without losing the cards.

Regards
Thank you in advance.


Post by marcio »

Hey agarcia,

Are you able to replicate such behavior on our demos?

Also, as you'll see here https://bryntum.com/products/taskboard/docs/api/TaskBoard/view/mixin/TaskBoardColumns#property-columns the columns are a store, so you could try to add https://bryntum.com/products/taskboard/docs/api/Core/data/Store#function-add to see if that makes a difference for you?

But the test case would help us a lot to assist you with that.

Best regards,
Márcio


Post by agarcia »

Hi Marcio,

Thank you for your answer. I've tried what I want to achieve on this Bryntum example (https://bryntum.com/products/taskboard/examples/config-panel/).

I send you 2 attached images with my results in the Bryntum example.. The result is not exactly the same that in my project. (In my project the columns and columns titles are changing correctly, but the cards are gone as they are in the Bryntum example.

Could you check the images I attach you, and tell me what could be wrong, or how we could display the cards /avoiding hide them on changing the columns?

Thank you very much

Attachments
afterchange column field
afterchange column field
cap2.png (58.33 KiB) Viewed 326 times
Init status
Init status
cap1.png (258.32 KiB) Viewed 326 times

Post by marcio »

Hey agarcia,

I checked on our demo and it worked just fine. I'm sharing a video to show working correctly. Just in case, could you please clear your cache (just to confirm that you're getting the most up-to-date code)?

Also, again, the test case would be nice. Is there any error being displayed on the console?

Best regards,
Márcio


Post Reply