1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    28
    Vote Rating
    1
    desp is on a distinguished road

      0  

    Default Unanswered: How to drag and drop into tree's unvisible root element?

    Unanswered: How to drag and drop into tree's unvisible root element?


    Hello,
    I have two 2-level trees and I need perform drag&drop operations between them. I need little customization - just drop only non-leaf items to root element (which is not visible) and set dropped item position where mouse pointer was.

  2. #2
    Sencha User
    Join Date
    Sep 2011
    Posts
    573
    Vote Rating
    73
    Answers
    58
    ettavolt is just really nice ettavolt is just really nice ettavolt is just really nice ettavolt is just really nice

      0  

    Default


    You may want to set allowDrop and allowDrag data fields on nodes according to your logic. Works for invisible root too - just shows reorder icon.

Thread Participants: 1