Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  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