<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.grapecity.com/wijmo/5.latest/styles/wijmo.min.css">
<script src="https://cdn.grapecity.com/wijmo/5.latest/controls/wijmo.min.js"></script>
<script src="https://cdn.grapecity.com/wijmo/5.latest/controls/wijmo.nav.min.js"></script>
<div class="container">
<h1>
Drag and Drop Between Trees</h1>
<p>
Setting the <b>allowDrag</b> property to true allows users
to drag and drop nodes within the same <b>TreeView</b>.</p>
<p>
To allow dragging and dropping nodes between different
<b>TreeView</b> controls, you must handle the <b>dragOver</b>
event and set the <b>cancel</b> parameter to true if
the operation is invalid, or to false if it is valid.</p>
<label>
<input id="dragWithin" type="checkbox" checked="checked">
allow dragging within trees
</label>
<br />
<label>
<input id="dragBetween" type="checkbox" checked="checked">
allow dragging between trees
</label>
<div class="row">
<div class="col-xs-6">
<div id="firstTree" class="short-tree"></div>
</div>
<div class="col-xs-6">
<div id="secondTree" class="short-tree"></div>
</div>
</div>
</div>