Hello there!
Can I somehow automatically save the cell value when the user has finished typing.
Without hitting enter, f2, arrows, or removing focus.
Reason:
I have several required tables, and I need to control that they are filled in order to make the save button active. But when the user simply enters values into the cell, the button is inactive. He needs to press buttons to save the cell value and unlock the button. Users do not always understand this)
Autosave cell value while it is being typed
Hi @mbdoy213
cell value is saved when the editor is closed. Example https://jsfiddle.net/6e108Lno/4/
You can use the afterDocumentKeyDown
hook to get the value from the edited cell but only when you close the editor the value is saved. Calling methods that save the data like setDataAtCell
automatically close the editor.