Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext GWT Premium Member
    Join Date
    Jun 2011
    Posts
    9
    Vote Rating
    0
    dierp is on a distinguished road

      0  

    Default Beta 1 - GridInlineEditing BeforeStartEditEvent never fires

    Beta 1 - GridInlineEditing BeforeStartEditEvent never fires


    Looking at the source it seems that the event is created but never fired...

    From GridInlineEditing.java
    Code:
    public void startEditing(final GridCell cell) {
        ignoreBlur = false;
        if (getEditableGrid() != null && getEditableGrid().isAttached() && cell != null) {
          ColumnConfig<M, ?> c = getEditableGrid().getColumnModel().getColumn(cell.getCol());
    
    
          M value = getEditableGrid().getStore().get(cell.getRow());
          // editable
          if (value != null && getEditor(c) != null) {
            CancellableEvent ce = new BeforeStartEditEvent<M>(cell);
            if (ce.isCancelled()) {
              return;
            }
    
    
            cancelEditing();
            ignoreScroll = true;
            getEditableGrid().getView().ensureVisible(cell.getRow(), cell.getCol(), true);
            Scheduler.get().scheduleDeferred(new ScheduledCommand() {
    
    
              @Override
              public void execute() {
                doStartEditing(cell);
              }
            });
    
    
          }
        }
    
    
      }
    Last edited by dierp; 29 Dec 2011 at 2:25 PM. Reason: typo

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,753
    Vote Rating
    113
    sven is just really nice sven is just really nice sven is just really nice sven is just really nice sven is just really nice

      0  

    Default


    This is already fixed in SVN and will be in the next release