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,971
    Vote Rating
    132
    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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi