Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    23
    Vote Rating
    0
    pete_by is on a distinguished road

      0  

    Exclamation TreeDragSource does not allow moving both the leafs and the nodes in same tree

    TreeDragSource does not allow moving both the leafs and the nodes in same tree


    Change: bug's title misses NOT word: "does NOT allow"

    Current implementation does not allow moving both leafs and nodes in the same tree. Only option is possible in the same time (even in single selection mode). This is because TreeDragSource#onDragStart method tests TreeSource only for LEAF or NODE, and not BOTH. This makes hard to implement editable hierarchies.

    Code:
     if (getTreeGridSource() == TreeSource.LEAF) { 
           ...
        } else { // else NODE or BOTH
        ...      
             for (M item : selected) {
                   if (getWidget().isLeaf(item)) { // here's the problem, we reject the leafs even                                                           // if getTreeGridSource()== BOTH
                event.setCancelled(true);
                        return;
                   } else {
                        nonLeafKeys.add(kp.getKey(item));
                   }
        ...
           }
    Last edited by pete_by; 29 Nov 2011 at 12:01 PM. Reason: title is incorrect

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,634
    Vote Rating
    80
    Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice Colin Alworth is just really nice

      0  

    Default


    Thanks for the report - I modified the title as you suggested. We'll update this thread when a working revision is available.

  3. #3
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,241
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    This is fixed in SVN (rev 1969) for both tree and treegrid. Changes will go out in our beta release this week.

  4. #4
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,241
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    Fixed in beta 1.

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