Show error
Show error
Andreas S.
Posts: 208Questions: 74Answers: 4
During the init of the Datatable, my server process send to the client an error in a json format.
How can i put this information in a modal windows? Datatables give me an error, that are missing data
to build the table but i need the Information of the Server
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Use
$.fn.dataTable.ext.errMode
.Allan
Is there a defined json format, that the error from the server are shown? I implement this code:
But I did not see the Server error in my console.log
Andreas
I ask this question in January, but I did not work to put the error in a tost notification. The Reference to throw an error and the example did not work. How should send the server an error to the client? Is there a specific json format?
Andreas
Hi @Andreas S. ,
Does this thread here help? Allan's final comment seems to answer what you're looking for.
Cheers,
Colin
yes that that help me.
Thanks Colin