1. #1
    Ext User
    Join Date
    May 2009
    Posts
    5
    Vote Rating
    0
    vdsat1010 is on a distinguished road

      0  

    Question Drag & Drop between trees without removing the original node?

    Drag & Drop between trees without removing the original node?


    I am having trouble changing drag and drop such that when i move a node from one tree to another, the original node stays and a copy is inserted into the target tree. I've tried implementing the beforeremove function by doing.

    tree1.on('beforeremove', function(tree, node, rNode) {
    return false;
    });

    tree2.on('beforeremove', function(tree, node, rNode) {
    return false;
    });

    According to the API, returning false should cancel the remove, the node is still removed. Any help would be appreciated.

  2. #2
    Sencha Premium Member jdent's Avatar
    Join Date
    Apr 2008
    Location
    San Diego
    Posts
    8
    Vote Rating
    0
    jdent is on a distinguished road

      0  

    Default


    Try using:
    beforemovenode : ( Tree tree, Node node, Node oldParent, Node newParent, Number index )
    Dent

Thread Participants: 1

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