Drag drop is not working when data is changed after Kanban is loaded

Hi,
When Kanban data is changed after Kanban is loaded (for example, by a button click) Drag Drop is not working. If Kanban component is removed while loading data and brought back after data is loaded, then drag-drop works as expected.

Maybe this helps; When I checked from browser's developer tools, I saw that some related css classes such as "draggable" are not attached to the related components.

There is a sample project attached.
Can you please review.

Thanks & kind regards


Attachment: SfComponentTest_f400c29e.rar

3 Replies 1 reply marked as answer

VJ Vinitha Jeyakumar Syncfusion Team September 23, 2022 11:50 AM UTC

Hi Yunus,


We want to let you know that when we are trying to update the data dynamically, we have to define the Kanban columns initially to avoid the reported issue. 
If you don't want to allow the kanban columns to be empty on initial rendering, then you can render the entire Kanban board dyncamically. please check the attached sample for your reference.


Regards,
Vinitha

Marked as answer

YU Yunus September 26, 2022 01:26 PM UTC

Hi Vinitha,

Thanks for your reply.
I implemented that way.
That also helped setting kanban width according to column count dynamically.


Regards



VJ Vinitha Jeyakumar Syncfusion Team September 27, 2022 04:43 AM UTC

Hi Yunus,


We are glad to assist you.

Regards,
Vinitha

Loader.
Up arrow icon