Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    May 2008
    Posts
    12
    Vote Rating
    0
    joshb is on a distinguished road

      0  

    Default [FIXED] GridSelectionModel firing Select TWICE with SelectionMode= Multi

    [FIXED] GridSelectionModel firing Select TWICE with SelectionMode= Multi


    Line 232 of GridSelectionModel,

    I beleive it should be else if( !isSelected(sel)....
    This is how handleMouseDown does it. Now, doSelect(...) gets fired once for mouseDown, once for mouseClick.

    Code:
    @SuppressWarnings("unchecked")
      protected void handleMouseClick(GridEvent<M> e) {
        if (isLocked()) {
          return;
        }
        if (!e.isRightClick() && selectionMode == SelectionMode.MULTI) {
          GridView view = grid.getView();
          M sel = listStore.getAt(e.getRowIndex());
          if (e.isControlKey() && isSelected(sel)) {
            doDeselect(Arrays.asList(sel), false);
          } else if (e.isControlKey()) {
            doSelect(Arrays.asList(sel), true, false);
            view.focusCell(e.getRowIndex(), e.getColIndex(), true);
          } else if(isSelected(sel) && !e.isShiftKey()){
            doSelect(Arrays.asList(sel), false, false);
            view.focusCell(e.getRowIndex(), e.getColIndex(), true);
          }
        }
      }

  2. #2
    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 bug is fixed in the releases/2.1 branch and is now available in the 2.1.1-beta release available here.

Thread Participants: 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