Hello arkgroup,
Please check whether your addrow function is like the following:
addrow: function (rowid, rowdata, position, commit) {
// synchronize with the server - send insert command
var data = "insert=true&" + $.param(rowdata);
$.ajax({
dataType: 'json',
url: 'data.php',
data: data,
cache: false,
success: function (data, status, xhr) {
// insert command is executed.
commit(true, id);
},
error: function(jqXHR, textStatus, errorThrown)
{
commit(false);
}
});
}
Also you could review the following topic.
Let us know if you need further assistance.
Best Regards,
Todor
jQWidgets Team
https://www.jqwidgets.com