I am VERY new to all of this so I ask that you please bear with me. I am using the Grid and have the editable.mode set to "popup". I have changed the backend Java Servlet to have an SQL error on purpose to figure out how to do error handling.
In the client javascript for Kendo Grid I have the following which I basically cut and pasted from an example.
schema: {
errors: "error",
error : function(e) {
alert(e.errors);
},
I have no idea what I need to do in the servlet in order to send an appropriate error to the client code such that it will be caught. I tried this but it isn't working:
response.sendError(422, "error: " + exception.getMessage());
In the client javascript for Kendo Grid I have the following which I basically cut and pasted from an example.
schema: {
errors: "error",
error : function(e) {
alert(e.errors);
},
I have no idea what I need to do in the servlet in order to send an appropriate error to the client code such that it will be caught. I tried this but it isn't working:
response.sendError(422, "error: " + exception.getMessage());