When Datatable Editor has an server error adding or updating, how to notify the client?
When Datatable Editor has an server error adding or updating, how to notify the client?
dlwiii
Posts: 1Questions: 1Answers: 0
Let's say we are adding a record, and that event fails on the server side. Is there a form of data that can be returned which will show the error message? I'd like my program to be able to send a server side message back.
This discussion has been closed.
Answers
Yes, Editor has an
error
parameter that it will look for in the returned JSON. Your error message could go in there.Allan