No afterChange event on undo bug

Tags: #<Tag:0x00007efc61ff2850>

We just got the pro version, but this issue applies also to the regular handsontable.

We use the afterChange event to update a database in near-realtime via ajax calls. All works nicely, but there is an issue that an undo does not fire an afterChange event. This means, our database gets out of sync what the user sees. I checked, there is no event for after undo. What do you suggest?

PS: I found a related issue https://github.com/handsontable/handsontable/issues/1587

Hi @andres.pagnon
I will discuss this issue with our developers. In the meanwhile did you tried the workaround described in the last comment of https://github.com/handsontable/handsontable/issues/1587?

We tried, but are running into browser security issues (firing from privileged code to non-privileged code).

Please advise.

After some more digging I found out that your code is actually working properly, sorry! We filtered the afterChange event and omitted the “undo” source. Please close this request.

Great to hear that everything’s working fine and you found a solution @andres.pagnon
I’m closing this topic.