Events for when dataTable is saving/updating/whatnot

Are there dataTable triggers for beginning and ending ajax updates?

I found onLoadError and onDataUpdate, but they don’t appear useful. The idea is, when the data is being saved, you’ll want to display a spinner of some kind to show that an update is taking place.

Similarly, onLoadError only seems to trigger when there was an error loading data. I’m not sure how to cause code to run when there is an update error. For example, how would I notify a user that when he or she updates a row, the server responded with an error?

Thanks all!
-Ken

Hello,

You can show and hide the spinner for updates by catching the Dataprocessor events. It’s an inner module that is initialized at the moment you provide asave script for the datatable.

So, you need to handle the following events: onBeforeDataSend, onAfterSync, onAfterSaveError.

Check the snippet, please: https://webix.com/snippet/9149e729