Drag n drop box style dragging feature #305
This pull request adds a new drag and drop style to jqtree, my collaborator (@kennykaye) and I refer to this as box style dragging. We think this change makes jqtree even more versatile and adds support for a dragging style that is popular elsewhere ( e.g. this angular plugin).
I have created an example page which shows this feature in action, I wasn't quite sure how to build the
I tried to extend the existing code and keep this new handler style confined to a single coffescript file. I had to slightly modify the existing drag and drop class.
Also clones the moving node's tree for the dragging item rather than just the name
Hello Michael and Kenny,
Thanks a lot for the pull request. I think the drag-and-drop style and the box styling is very cool.
Unfortunately I don't want too include this pull request. I do like the 'boxed' drag-and-drop, but I think it's not good that you have to use it in combination with the 'box' styling. That makes it too much a special use case.
Would the 'boxed' drag-and-drop without the 'box' styling be a useful feature for you?