It would be great to see this added as a feature, as your competitor's products do have this feature.
However, for the mean time, I'm using the shift key as a modifier.
function ftvMenu_OnDrop(target, event) {
var parentNode;
var parentNode;
var targetIndex;
if (target instanceof CFlyTreeView) {
// target=rootdropzone
parentNode = target;
targetIndex = target.getNodes().length;
}
else {
var parentNode = target.getParent();
if (parentNode == null) parentNode = target.getTreeview(); //target=rootobject
targetIndex = target.getIndex();
}
var node = flytreeview_dragObject.value;
// If our source and target are the same type, insert at that level
// unless the shift key is held down
if (
node.getNodeTypeID() == target.getNodeTypeID()
&& event.shiftKey == false
) {
node.remove(); // remove first from previous location
parentNode.insertNode(node, targetIndex);
return false; // to skip default action
}
}
Then set your OnDropJavaScript event to "ftvMenu_OnDrop"