tiger
(1105491633)
July 6, 2018, 2:02am
#1
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)
tiger
(1105491633)
July 6, 2018, 2:17am
#2
Now, I have encountered the same error in my project, it is serious.
@cuba-platform
@gorelov
1 Like
gorelov
(Gleb Gorelov)
July 9, 2018, 7:39am
#3
Hi,
That’s not a bug, you have to close an editor before changing the editor mode.
Regards,
Gleb
gorelov
(Gleb Gorelov)
July 10, 2018, 7:24am
#5
tiger:
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
tiger
(1105491633)
July 11, 2018, 12:34am
#6
Thanks very much!
i want invoke the action of Esc in code to close editor,
how to do it
tiger
(1105491633)
July 11, 2018, 3:20am
#7
i want it will auto commit and close editor when the user do other
gorelov
(Gleb Gorelov)
July 11, 2018, 6:29am
#8
Unfortunately, the DataGrid Editor can’t be closed programmatically.
1 Like
klaus
(Klaus Pfeiffer)
June 16, 2020, 5:59am
#9
Did that change until now? There are quite some cases where this is required.
gorelov
(Gleb Gorelov)
June 16, 2020, 7:30am
#10
Hi,
Unfortunately, the DataGrid Editor still can’t be closed programmatically.
Regards,
Gleb