Results 1 to 2 of 2

Thread: Inline Editable Grid tabbing looses value in 4.0.3

  1. #1
    Ext GWT Premium Member
    Join Date
    Apr 2008
    Location
    Canada
    Posts
    15

    Default Inline Editable Grid tabbing looses value in 4.0.3

    GXT 4.0.3 inline grid editors loose their value when tab is pressed. If enter is pressed or the mouse is used to select a different cell the value is retained.

    To reproduce:
    1. Open http://examples.sencha.com/gxt/4.0.3...needitablegrid
    2. Click a cell in the name column and change the value
    3. Press tab
    4. Value will be lost

  2. #2
    Sencha Sr Product Manager
    Join Date
    Jan 2012
    Location
    Arlington, WA
    Posts
    1,178

    Default

    This is a known regression. With 4.0.3 there is an easy workaround.

    Code:
    final GridInlineEditing<Plant> gridInlineEditing = new GridInlineEditing<Plant>(grid) {
      @Override
      protected void onTab(NativeEvent event) {
        if (previousActiveCell != null) {
          ColumnConfig<Plant, ?> columnConfig = columnModel.getColumn(previousActiveCell.getCol());
          IsField<?> field = getEditor(columnConfig);
          event.preventDefault();
          field.finishEditing();
        }
    
        super.onTab(event);
      }
    };
    Would this help you work around the issue in the meantime? The issue has been escalated and will go into 4.0.4 soon.

Similar Threads

  1. Editable grid tabbing diesn't work as expected
    By realgaa in forum Ext JS 6.x Bugs
    Replies: 5
    Last Post: 23 Feb 2016, 8:44 AM
  2. Replies: 1
    Last Post: 23 Apr 2014, 9:10 AM
  3. Editable Grid, Tabbing skip NO-editable fields?
    By blomasky in forum Ext: Q&A
    Replies: 5
    Last Post: 6 Sep 2013, 3:18 AM
  4. Tabbing into and out of a non-editable grid
    By jlowe in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 9 Apr 2009, 9:36 AM
  5. Time delay on Tabbing in editable grid
    By rajneesh103 in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 8 Jan 2008, 4:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •