MVC5, Inline editing:
When doing inline editing, the edit button is temporary replaced by two UPDATE/CANCEL buttons.
This is normal behavior.
If the update handling fails, then the update/cancel buttons is swapped back to the edit button, but the item itself, is still in edit mode.
I have attached the grid to the following events to be able to show messages to the user:
.Events(events => events.Sync("onSync"))
.Events(events => events.Error("onDataSourceError"))
I want the update/cancel buttons to be the visible one since it has failed and the user should still be able to correct the error and update again.