PDA

View Full Version : [BUG] Tree dragndrop disable



seb2nim
28 May 2009, 10:42 PM
Hi,

I tried to enable/disable my tree drangNdrop feature using a toggle toolitem :

My tree building is based on 'Reordering tree' sample from explorer.

On toggle i enable/disable both dndSource and dndTarget.

When dnd is disabled, i cannot move treeitems but i still have the status proxy appearing.

Can anyone help ?

seb2nim
28 May 2009, 11:11 PM
Workaround :
dndSource.getDraggable().setEnabled(false);

(Can be done in overriding TreeDragSource enable() and disable() mehtods...)