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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Retrieving Target Node Information in NodeDropped Event

Thread ID:

Created:

Updated:

Platform:

Replies:

129972 Apr 12,2017 04:24 PM UTC Apr 13,2017 10:35 AM UTC JavaScript 1
loading
Tags: ejTreeView
Randy Craven
Asked On April 12, 2017 04:24 PM UTC

Hello,

I have a TreeView bound to JSON data.  In the nodeDropped event I can retrieve the data for the node being dropped (args.droppedElementData) but cannot find the data for the drop target node.  The targetElementData object contains information about the parent of the drop target, and the dropTarget object doesn't appear to contain the JSON data for the node.

The attached html file can be used to see this behavior in the console.  To reproduce, drag the level 2 node and drop on the level 1 node; the targetElementData object will reference the parent.  If the level 2 node is dropped on the level 0 node, the targetElementData object is empty.

How can I retrieve the node data for the drop target node when using drag and drop in the treeview?

Thank you,
Randy Craven

Attachment: TreeTest_b77b977.zip

Karthik Ravichandran [Syncfusion]
Replied On April 13, 2017 10:35 AM UTC

Hi Randy, 
  
We have created a separate incident for this query under your account. Can you please login into our Direct Trac support system for further updates on this query. Our Direct Trac support system can be accessed from the following link:   
 
Regards,   
Karthik R.   


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;