Get KoolPHP UI with 30% OFF!

Drag/drop to copy a node?

Larry Parrish
Currently, my treeview is coded to be able to move a node from one group to another, or to reorder nodes within a group. Works great, as usual.
Now, what I'd like to be able to do is drag a node to copy it, possibly by having the control key pressed when the drop occurs. I can't figure out how to determine if a key is pressed. I've tried using jQuery keydown event both on the window and on the treeview, in neither case does any value come back.
How might I determine if there's a modifier present during the drop event?
Posted Jan 5, 2016 Kool