Debugging Drag and Drop for the Treegrid

I tried to implement drag and drop for my grid and it was completely unstable. I believe this is due to something I did, like having logic in the mouseup event.

An example of how it would fail is that I could drag a row and it would not drop and reposition. Another way it failed was that the rows disappeared.

Due to the fact that exceptions do not fire, I found it hard to understand what was happening. I was wondering if you had any debugging tips for me to better understand how the grid is not working.

For examle are there different files I should breakpoint/add logging to or is there additional logging I could turn on?


3 Replies 1 reply marked as answer

FS Farveen Sulthana Thameeztheen Basha Syncfusion Team September 23, 2021 04:21 PM UTC

Hi Zachary, 

Thanks for your interest in Syncfusion Components. 

Query#:- An example of how it would fail is that I could drag a row and it would not drop and reposition. Another way it failed was that the rows disappeared. For example are there different files I should breakpoint/add logging to or is there additional logging I could turn on? 

We have checked your query and you can find the Error details using actionFailure event of the TreeGrid. So we suggest to bind actionFailure event of the TreeGrid and get the error details from using its args. Also bind the rowDrop event of the TreeGrid whether it get hits on performing Drop operations. 

Refer to the API Link:- 
 
Kindly ensure the following above cases and share us the StackTrace from Failure event. Along with that share us the following details which will be helpful for further validation 
 
  1. TreeGrid rendering Code.
  2. Video Demo to replicate the problem.
  3. Share us the simple issue replicable sample to demonstrate your issue, replication steps. For reference please follow the below links:-
 
Regards, 
Farveen sulthana T 


Marked as answer

ZA Zachary September 23, 2021 06:54 PM UTC

Thank you, this should be very helpful!



FS Farveen Sulthana Thameeztheen Basha Syncfusion Team September 24, 2021 02:33 PM UTC

Hi Zachary,  

Thanks for your update. Please get back to us if you need any further assistance on it. 

Regards,
Farveen sulthana T 


Loader.
Up arrow icon