Drag and Drop not working - Kanban with CustomAdapter Datamanager

Version 19.4.47


The custom adapter functions perfectly for a DataGrid

When using this same adapter with kanban, data is loaded successfully, however drag and drop stops working.

If I disable the adapter and query the database as IEnumerable<T> and remove the custom adapter, drag and drop resumes.

I would like to keep the adapter as it has various system state information used to specifically load data context.

Applogies for incomplete sample...  Its difficult to display the code as it has much of my specific entity framework rules in the customAdapter. Providing with sample may not compile,  but if there is a  working example that would be great.


<SfKanban KeyField="state_string" TValue="JobTask" >

    <SfDataManager AdaptorInstance="@typeof(JobTasksAdapter)" Adaptor="Adaptors.CustomAdaptor" ></SfDataManager>

    <KanbanSwimlaneSettings KeyField="@nameof(JobTask.responsible_staff_code)"></KanbanSwimlaneSettings>

    @*<KanbanEvents ActionFailure="@ActionFailureHandler" TValue="JobTask"></KanbanEvents>*@

    <KanbanColumns>

        @{

            var items = EnumHelper<TaskStateEnum>.ToDisplayDictionary();

            foreach (var item in items)

            {


                if(item.Value != null)

                        {

                <KanbanColumn HeaderText="@(item.Value)" KeyField="@(new List<string>() {item.Value })" AllowToggle="true" />

                        }

            }

        }

    </KanbanColumns>

    <KanbanCardSettings HeaderField="@(nameof(JobTask.task_no))" ContentField="@(nameof(JobTask.task))" GrabberField="@(nameof(JobTask.priority_colour))"> </KanbanCardSettings>

</SfKanban>



5 Replies

BS Buvana Sathasivam Syncfusion Team January 31, 2022 06:48 PM UTC

Hi Daniel, 
 
Greetings from Syncfusion support. 
Currently, we are validating your reported query with high priority. We will update you with further details in two business days on or before February 2, 2022. 
  
Regards, 
Buvana S 



BS Buvana Sathasivam Syncfusion Team February 3, 2022 02:41 AM UTC

Hi Daniel, 

Sorry for the inconvenience. 

Currently, we are facing complexity in validating your reported issue. We will update you with further details on or before February 4, 2022. 

Regards, 
Buvana S 



BS Buvana Sathasivam Syncfusion Team February 8, 2022 06:30 AM UTC

Hi Daniel, 

Thank you for your patience. 

We have considered the issue “Initial drag and drop is not working properly when using remote data” as a bug from our end and the fix for the issue will be included with our upcoming weekly patch release on February 22, 2022. 

You can now track the current status of the report, review the proposed resolution timeline, and contact us for any further inquiries through this link:  


Regards, 
Buvana S 
 



BS Buvana Sathasivam Syncfusion Team February 24, 2022 10:17 AM UTC

Hi Daniel, 

Due to its complexity, we couldn't include the fix for the issue "Initial drag and drop not working properly when using remote data". We will include the fix with our upcoming patch release on March 1, 2022. We appreciate your patience until then. 

Regards, 
Buvana S 



BS Buvana Sathasivam Syncfusion Team March 3, 2022 08:52 AM UTC

Hi Daniel, 
 
We have included the fix for the issue "Initial drag and drop not working properly when using remote data" with our package version 19.4.54. So, can you please upgrade your package to the latest to resolve the issue from your end. 
 
 
Regards, 
Buvana S 


Loader.
Up arrow icon