Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by alfonso florio on Sep 02, 2008 02:59
open dhtmlx forum
dhtmlxTree - drag in of a custom element from the html page

I will never stop to make my compliments for your product.
I have a small question for you... is it possible to allow the drag-in FROM a custom element of the page TO the dhtmlxTree.
I am not talking of your example of dragging a node outside into a form element. I want to do just the opposite.

Is that possible in some way? Can you give me an example?

Thanks a lot

Answer posted by Support on Sep 02, 2008 03:12
Latest version of dhtmlxtree contains
   codebase/ext/dhtmlxtree_dragin.js
which allows touse next method
    tree.makeDragable("htmlID",function(tree,htmlID,treeItemID){
             //this code will be called after item droped in tree
    })

command will add ability to html element with specified ID to be draged in tree. 
http://dhtmlx.com/docs/products/dhtmlxTree/samples/drag_n_drop/drag_in_simple.html?un=1220351553000