Persist data from an editable Grid


I am using an editable grid. I’ve noticed several edit-related events. afterEditEnd, afterEditStart, beforeEditEnd, beforeEditStart.

beforeEditEnd is particularly useful to prevent editing from being completed. A handler for this event can return false in that case. This means that you can send the new value of the cell to the server and return true if the operation completes. But the request must be synchronous and the api of dhx.ajax is asynchronous.

It would be useful in the future to include an asynchronous way to indicate that the edit operation can be completed. Some grids pass a callback to an event of this type.


The edit operation in the grid is completely synchronous, so there is no such a situation, where some callback function is required.