Absolutely awesome!, thx man 
should make this a feature 
I have another question:
Sometimes i want to cancel a drag action.
I should explain my situation:
Nodes in the tree represent site content,
when a node is selected the content of that node will be displayed in a form.
So when the user edits the form and clicks on another node i display a overlay
with a message like "There are unsaved changes, save YES / NO".
The overlay will show on mousedown (the select event).
And if the user keeps the mouse button down and moves the mouse he will drag the node
behind the overlay.
So my question is:
Is it possible to cancel the current drag action ?
Tried this:
onDrag: function(){
if(dragIsDisabled)
{
this.where = 'notAllowed';
this.emptydrop();
return;
}
}
Last edited by mrgroovy (2010-07-01 01:44:02)