1 Reply Latest reply on Aug 29, 2007 8:40 AM by peterent

    Tree drag initiation, replace 'treeItems' format

    aligned2009 Level 1
      When dragging an item from a tree, I'd like to change the format of the dragSource from 'treeItems' to a custom format. There are plenty of examples that show how to do it for a non-drag enabled component like a label using DragManager.doDrag (ie creating from scratch), but on the tree component that initiates the drag, how do I change the format of the drag initiator during the initiating phase?

      I don't want to use the isDragging method from the dragManager, because I don't want a bunch of event listeners hanging around if there is an drag initialization event handle, which would be easier. I'd just be better off filtering the data at the drop target.