Restoring clean values on server update error

Hello,
I have a form bound to datatable, which processes ‘save’ action on server-side:
http://webix.com/snippet/4015a9aa
How can I restore previous value on server error?

There is no any integrated solution.
You can use some event, that occurs before pushing data from form to the datatable, to save the original data ( grid.getItem(id) ) and restore the value after receiving the "error"response.

Thank you, maksim. That is the way I did it. I just hoped that dirty values would become clean after server’s confirmation. But no luck, I have to save clean values of my own.