Drag and Drop ordering in a TreePanel

This example shows basic drag and drop node moving in a tree. In this implementation there are no restrictions and anything can be dropped anywhere except appending to nodes marked "leaf" (the files).

Drag along the edge of the tree to trigger auto scrolling while performing a drag and drop.

In order to demonstrate drag and drop insertion points, sorting was not enabled.

The data for this tree is asynchronously loaded with a JSON TreeLoader.

The js is not minified so it is readable. See reorder.js.