PDA

View Full Version : Cancel drag in reordering tree



91dj85
7 Jun 2009, 10:06 AM
Hello,

How to cancel a drag & drop in reordering tree

Example :


TreeDragSource source = new TreeDragSource(binder);
source.addDNDListener(new DNDListener() {

@Override
public void dragDrop(DNDEvent e) {
e.doit = false;
e.status.setStatus(false);
e.stopEvent();
}
});
but it don't work
Thank you

91dj85
9 Jun 2009, 11:37 PM
someone can help me ?