Last Updated: 06 Nov 2014 11:34 by ADMIN
Hristo Valyavicharski
Created on: 30 Jan 2014 11:03
Category: TreeView
Type: Feature Request
ADD: Copy(clone) node on Drag And Drop between two TreeView-s
ADD: Copy node on Drag And Drop TreeView
1 comment
Posted on: 06 Nov 2014 11:34
TreeView doesn't contain the logic for moving the nodes. This logic is implemented by the developer, either on the client, or the server, as demonstrated in the following demo:

Therefore this is not a feature for the control itself, rather an implementation descision when using the control.
In the demo code, if you change the following line:
var sourceNode = sourceNodes[i];
to this one:
var sourceNode = sourceNodes[i].clone();
the client drag and drop will be implemented as "copy".