Error in server-side processing causes "Processing" box to hang, no user feedback
Error in server-side processing causes "Processing" box to hang, no user feedback
Hello. I'm using DataTables with the Server-side Processing plugin and an Ajax source. Sometimes, for whatever various reasons, we return an error instead of a DataTables table array which needs to be presented to the end-user. I can't find any documentation on how to hook into the DataTables ajax call to watch for and handle errors. Is there a jQuery event that I can watch for the error, or a callback I can register for handing errors? Right now it just hangs at "Processing" any time the error is returned, with no user feedback at all.
Thank you!
Thank you!
This discussion has been closed.
Replies
TypeError: aData is undefined
/static/datatables/jquery.dataTables.js
Line 2038
> I can't find any documentation on how to hook into the DataTables ajax call to watch for and handle errors.
Use fnServerData .
Allan