0 Replies Latest reply on Apr 28, 2007 7:38 PM by joelregen

    Can't reject drag/drop moves in event handler

    joelregen
      How does one reject a move from within the dragDrop event handler? I cannot figure out how to do this.
      I have dragMoveEnabled in the tree and I need to reject certain attempts like moving a 'folder' node to a certain node type.
      I can easily detect any combination of things that would constitute a rejection signal, but I can't seem to force the move to be canceled. I'm handling copies myself within the dragDrop handler, but I would like to let it do the moves for me since they are pretty simple and don't require any extra processing. I just need to cancel certain ones.
      anyone try this?