We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to get Parent node on drag and drop

Hi,


how is it possible to get the Id of the parent node when I drag a new Item to it.

Right now I am using the OnNodeDragStop to get the item which I drag to a existing node, but I need to know who is the parent to whom is the new item dragged.


Thanks in advance.


1 Reply

LD LeoLavanya Dhanaraj Syncfusion Team December 13, 2022 05:43 PM UTC

Hi ZMI,


Greetings from Syncfusion support.


With the shared details, we were quite unclear about the exact requirement in the Blazor TreeView component. We would like to confirm whether you want to get the existing parent details of the dragged tree node or whether you need to get the details of dropped element’s parent node details in the TreeView component. Confirm the above details. It will help us further validate the reported requirement from our side.


Regards,

Leo Lavanya Dhanaraj


Loader.
Live Chat Icon For mobile
Up arrow icon