Hi Arcady,
Thanks for your reply. In beforesync listener if we make a call for sync for all the tasks as mentioned by you earlier, then can we discard the current sync call that is already associated with the beforesync. Is there any way to invoke these sync calls in parallel?.
Could you please also let us know, how to identify what all attributes are modified for a task in taskstore? How crud manager classifies whether a task need to updated? and once it is updated, how it resets the task record as a fresh record in taskstore.
Thanks
Mani.
You can implement any logic you want. Just override standard Crud Manager sync
methods the way you need.
Store has https://docs.sencha.com/extjs/6.2.1/classic/Ext.data.ProxyStore.html#method-getUpdatedRecords method
To reset record https://docs.sencha.com/extjs/6.2.1/classic/Ext.data.Model.html#property-dirty state it has https://docs.sencha.com/extjs/6.2.1/classic/Ext.data.Model.html#method-commit method