Editor: How to validate local changes server side
Editor: How to validate local changes server side

Hi, I am just trying out Editor.
Thanks to https://datatables.net/blog/2017-10-24 I could properly implement queued changes.
Now, I want to use server side validation whenever a value is edited so that only valid values can be submitted to the "local" table.
However, here I am stuck. Could you please provide a small example on how to achieve this?
Thanks in advance!
Kind regards
This discussion has been closed.
Answers
Hi,
What you would need to do is listen for the
postSubmit
event from Editor and check the JSON return from the server to see if there are any errors:Allan