, isDirty() Ext.data.Store. , AbstractStore.sync() .
Ext.define(null, {
override: "Ext.data.Store",
isDirty: function() {
return (this.getNewRecords().length > 0 || this.getUpdatedRecords().length > 0 || this.getRemovedRecords().length > 0);
}
});
ExtJS 4.2.1. , getNewRecords(), , idProperty .