Currently there is no build in method to drag items off the tree.
You could create a node, that is named "Trash".
Or you could experiment further with jQuery UI. I will test too and
let you know.
Regards,
Ivan
On Mar 2, 1:40 pm, boteeka <bote...@gmail.com> wrote:
> I want to create a trash can and be able to drag items off the tree
> and drop them on the trash can and delete it from the tree in a
> callback.
> I set up a div to be droppable: $("#trashcan").droppable({drop:
> function() { alert('dropped'); }}). But this does't work. I have set
> the draggable: "all" and dragrules: "all" settings, too.
> Is there a way to accomplish this?