I'm looking at the dataProcessor functions and have some qu

I’m looking at
the dataProcessor functions and have some questions.

When manual saving the gris to the server I have to use the sendData function
(?).

Is it possible to have some result of this update, like OK or ERROR? So when
grid is saved to the server (POST) I can check the result from the server and
do some more stuff like closing the popup window or present the error message
to the user.


a) You can use setOnAfterUpdate to add your own after
update functionality;



b) You can add new or extend any existing callback by
using the next syntax:



           
myDataProcessor.defineAction(“update”,function(xml){ alert(xml.data);
});


 The first parameter is an action type, you can extend default
“insert”, “update”, “delete” actions; or
implement a new one.