I find a bug in datagrid table about DataGrid inline editor

DataGrid inline editor

in live demo at DataGrid inline editor,
when editor buffered is false,edit table ,then check Editor Buffered, you while get a error : IllegalStateException: Can't change editor unbuffered mode while editor is active.
this is a video , Please unzip
https___demo.cuba-platform.com_sampler_#! - Google Chrome 2018_7_6 10_09_33.rar (3.1 MB)

%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20180706101449

Now, I have encountered the same error in my project, it is serious.
@cuba-platform
@gorelov

1 Like

Hi,

That’s not a bug, you have to close an editor before changing the editor mode.

Regards,
Gleb

how can i close editor

In case of the buffered editor mode, by clicking the OK or Cancel buttons. In case of the unbuffered editor mode, by pressing the Esc key.

Regards,
Gleb

Thanks very much!
i want invoke the action of Esc in code to close editor,
how to do it

i want it will auto commit and close editor when the user do other

Unfortunately, the DataGrid Editor can’t be closed programmatically.

1 Like

Did that change until now? There are quite some cases where this is required.

Hi,

Unfortunately, the DataGrid Editor still can’t be closed programmatically.

Regards,
Gleb