Results 1 to 2 of 2

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

  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    28
    Vote Rating
    1
      0  

    Default 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
    574
    Answers
    59
    Vote Rating
    74
      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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •