1. #1
    Sencha User
    Join Date
    Jul 2010
    Location
    Craiova, Romania
    Posts
    47
    Vote Rating
    0
    sempervivo is on a distinguished road

      0  

    Default Don't allow dragndrop between leafs

    Don't allow dragndrop between leafs


    Hi,

    How can I set my TreePanelDropTarget so that it won't allow drops between the leefs (when the thin dotted line appears)? Thank you.

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,966
    Vote Rating
    130
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Take a look at this thread: http://www.sencha.com/forum/showthre...ering-DND-Tree

    basicly you simple add checks to the DropTarget.

  3. #3
    Sencha User
    Join Date
    Jul 2010
    Location
    Craiova, Romania
    Posts
    47
    Vote Rating
    0
    sempervivo is on a distinguished road

      0  

    Default


    I added the override to the showFeedback method and inserted the "target == null" condition but still I am allowed to drop between the leafs. What can I do ?

Similar Threads

  1. Treepanel: only leafs dragable
    By jeroenooms in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 18 Mar 2010, 1:59 PM
  2. Possible to have tree with no folders, just leafs?
    By bbxx in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 26 Oct 2009, 8:40 AM
  3. Clicking only the leafs in a TreePanel
    By dana.lees in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 8 Sep 2009, 8:27 PM
  4. Tree drop on leafs
    By fredrikhultin in forum Community Discussion
    Replies: 0
    Last Post: 9 Feb 2009, 11:07 AM

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar