3 Replies Latest reply on Nov 29, 2006 1:15 AM by ceetah

    drag only leaves of Tree, not branches

    ceetah
      Hello

      I extended a Tree component, made a little private method that populates the tree from an xml using httpService.

      now I want to drag the items in the tree that don't have children of their own. so just the leaves, not the branches.

      (if I use dragEnabled="true" and dragMoveEnabled="false" I serve half my purpose .. I can drag the items from the tree without moving them, BUT I can drag ALL items... which I do not want).
      how can I do that? drag just the leaves?
      thank you