You can use the updaterow callback function of the Grid’s source object. The function is called automatically by jqxGrid and is passed the updated rowID(s) and updated row(s).
var source = { localdata: data, datatype: "local", addrow: function (rowid, rowdata, position, commit) { // synchronize with the server - send insert command // call commit with parameter true if the synchronization with the server is successful //and with parameter false if the synchronization failed. commit(true); }, deleterow: function (rowid, commit) { // synchronize with the server - send delete command // call commit with parameter true if the synchronization with the server is successful //and with parameter false if the synchronization failed. commit(true); }, updaterow: function (rowid, newdata, commit) { // synchronize with the server - send update command // call commit with parameter true if the synchronization with the server is successful // and with parameter false if the synchronization failed. commit(true); } };
Best Regards,
Peter Stoev
jQWidgets Team
http://www.jqwidgets.com