Handling server errors

I’m a little confused as to the best way to handle server errors such 500’s or spurious network errors. I see that the updated appointment goes bold while it’s out of sync so in this case it will stay bold. Is there a callback I can register to catch this event and then perhaps do a new sendData as a retry? What is the recommended way to handle this situation?

Thanks for the outstanding product!

This question is exactly about my question: viewtopic.php?f=6&t=25075.

Thanks for any response how to do this.


docs.dhtmlx.com/doku.php?id=dhtm … r_catching

Basically it possible to change response type of server side to error or invalid ( will be set as “error” in case of DB saving error automatically ) and on client side define custom logic which will fire when such response type received.