Specifies the drag-and-drop scope for the TreeView control. Useful when it is needed to drag and drop external elements to and from the TreeView, like another TreeView control or custom HTML elements.

If not specified, a unique scope will be used, which will limit the valid drag-and-drop operations to nodes within this TreeView only.

<ul id="treeview">
    <li>My Project
            <li id="someid">js</li>

<script type="text/javascript">
    jQuery(function ($) {
            dragDrop: true,
            dragDropScope: "custom-dd-scope",
            events: {
                drop: function(e) {
                    console.log("dropping " + this.getPath(e.sourceNode) + 
                        " on " + this.getPath(e.targetNode));

Check this example for a live demo of TreeView drag-and-drop scope.