-
userOctober 5, 2016 at 5:42 am #6502
Hi,
I am working on weighted tree and having one require.
I need to add the possibility to drag and drop a node or a leaf in tree.thank you
vizulyOctober 5, 2016 at 8:54 am #6503Hi,
This is totally possible, but would require customization of either the core weightedtree class, or the related theme to support drag and drop.
You would want to add a drag handler for the nodes them selves, track when a drag is occurring, and respond to a drop even over another node or branch.
Here is a good example of the basics you would need:
http://bl.ocks.org/robschmuecker/7880033
– Tom
-
|
Viewing 1 reply thread
You must be logged in to reply to this topic.