I want to send all (inclduing unchanged) records of an Ext.data.store using the sync-method to the server.
In extjs4 you coud do the following (answer from this question):
store.each(function(record){
record.setDirty();
});
store.sync();
But in extjs5 the setDirty()-method is deprecated, and I wasn't able to find an alternative solution.