My datasource has a transport, not a function.
Even if the Grid is in offline mode a response is still expected, it is just received from the local storage.
No response exists if the grid is offline, it is just nonsense.
And the bug still exists even if I store it respecting the schema. Notice that, after the record disappearing, it nows appears when you click refresh on the grid, which means that it is now being stored and retrieved correctly. The bug is on your side, I believe you are checking the record as new, even when editing a newly inserted record (which is wrong), and removing it from the view on cancel edit.
- cancel new should remove from view - working as expected;
- cancel edit shouldn't remove from view - not working even after hitting refresh;
- cancel "edit new" shouldn't remove from view - not working.
It should work offline, without acrobatic manuevers.