You found a bug! We've classified it as EXTGWT-2610 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    19
    Vote Rating
    0
    p33t is on a distinguished road

      0  

    Default Grid inline edit and combo box blur - Value not saving

    Grid inline edit and combo box blur - Value not saving


    Required Information
    Version(s) of Ext GWT Ext GWT 3.0.1
    Browser versions and OS
    (and desktop environment, if applicable)
    • Chrome 23.0.1271.64, Ubuntu Linux 12.04 (Not reproduced in Firefox 16 nor IE8)
    Virtual Machine No
    Description

    Using a Grid Inline editing on an 'auto commit' list store, a combo box does not appear to save a newly selected value when an adjacent cell on the same row is clicked. Pressing 'Tab' instead has different behaviour and the newly selected value is successfully saved.

    Run mode
    Both DevMode and fully compiled/deployed
    Steps to reproduce the problem
    1. On the supplied widget code
    2. Click on an Integer cell to show a combo box
    3. Select an item in the combo box
    4. Use the mouse to click on the next cell on the same row
    5. The newly selected value is lost and the old value remains
    6. Repeat the steps above but press 'Tab' instead of clicking and it works fine
    Expected result Newly selected value should be saved
    Actual result
    Old value remains
    Test case
    180 line stand-alone widget is available online.
    Helpful Information
    Screenshot or video
    • -
    Live test -
    Debugging already done
    • «none»
    Possible fix Unknown

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,731
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    Unrelated to your report, but the example you linked to,
    Code:
    http://www.sencha.com/examples-dev/#ExamplePlace:inlineeditablegrid
    is running 3.0.0 RC2. A running sample of 3.0.1 is available at
    Code:
    http://www.sencha.com/examples/#ExamplePlace:inlineeditablegrid
    I'm able to reproduce this (Chrome only, as specified), and have filed this internally. We'll update this post when we have a workaround or a fix to report.

  3. #3
    Sencha User
    Join Date
    Jan 2013
    Posts
    8
    Vote Rating
    0
    ryanshillington is on a distinguished road

      0  

    Default Same problem

    Same problem


    I have this problem too, and clicking tab doesn't seem to solve it. Specifically, this new value that the user entered doesn't seem to be getting added to the ComboBox's ListStore, and because of that it's not sticking and the CombBox reverts to it's previous value.

  4. #4
    Sencha User
    Join Date
    Jan 2013
    Posts
    8
    Vote Rating
    0
    ryanshillington is on a distinguished road

      0  

    Default Nevermind

    Nevermind


    This problem went away for me once I rewrote the ComboxCell.ComboPropertyEditor as I detailed here:

  5. #5
    Sencha User
    Join Date
    Jan 2013
    Posts
    8
    Vote Rating
    0
    ryanshillington is on a distinguished road

      0  

    Default Solved it!

    Solved it!


    I did have this problem. I thought I didn't because I wasn't clicking in the next comboBox, which is key to reproducing this bug. Clicking in the next comboBox will cancel the edit in the previous comboBox, which is a bug, IMO, in com.sencha.gxt.widget.core.client.grid.editing.GridInlineEditing#cancelEditing line 147. That line should be completeEditing() instead.

    Here's a workaround:

    Code:
            gridEditor.addBeforeStartEditHandler(new BeforeStartEditEvent.BeforeStartEditHandler<T>() {
                @Override
                public void onBeforeStartEdit(BeforeStartEditEvent<T> event) {
                    gridEditor.completeEditing(); // Set the value on the last column we were editing, otherwise it is thrown away.
                }
            });

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi