Grid inline edit and combo box blur - Value not saving

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

On the supplied widget code

Click on an Integer cell to show a combo box

Select an item in the combo box

Use the mouse to click on the next cell on the same row

The newly selected value is lost and the old value remains

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 case180 line stand-alone widget is available online.
Helpful InformationScreenshot or video

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.

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.
}
});