Can you drag n drop from computer folders into dhtmlx tree?


Completely new here so apologies in advance. I have had a quick search through the forums and haven’t found what I’m looking for yet,

I have been asked to create a file explorer for a place who want to implement drag n drop from their computer into the tree.
Is this possible? If so can anyone point me in the correct direction or able to help out?

I have setup the layout through one of the demo’s and my current tree initialisation looks like this:

      var myTree = myLayout.cells("a").attachTree();
      myTree.setDragBehavior("child", true);
      myTree.attachEvent("onSelect", function(id) { 
	  return true;


Unfortunately such a feature is not available in the dhtmlxTree.
You may try to use the fileSelector component: