
Here is a jsfiddle displaying the problem.
6 Answers, 1 is accepted
Do not wrap the Node objects manually with ObservableArrays, and use the append Node method to add child nodes. Here is the updated Fiddle.
Regards,Alex Gyoshev
Telerik

I updated the JSFiddle to include the ListView: http://jsfiddle.net/zNLNy/1201/



Hi Alex,
I need to copy a parent node including child nodes while drag and drop and the source treeview items will remain same ...
i have tried using the below code but it is only copying single node not the child nodes
function drop(e){
e.preventDefault();
var copy = this.dataItem(e.sourceNode).toJSON();
if(e.dropPosition == "over"){
tree.append(copy, $(e.destinationNode));
} ....}
Thanks in advance :)
Hello Akhila,
You have to ensure that the child nodes are already loaded. As your request is not related to the topic of the OP, please open a separate thread if you require more information.
Regards,Alex Gyoshev
Telerik