I have a datasource attached to a Kendo spreadsheet with AngularJS.
In the onchange method of the spreadsheet, we iterate datasource.data() to see which records are changed. I then use a webservice (not the transport layer of the datasource) to validate the changes.
The user can then choose to press a save button, which will use a webservice (not the transport layer) to save the records. However, after the datasource has iterated the data to run the validation specified above, all the records dirty flags are set back to false. I have tried in this same loop the following, to reset the dirty flag but it doesn't seem to work.
datasource.data()[i].dirty = true;