In your sample the grid have editable mode. In my way, I’m not in this case.
I use $(“#jqxgrid”).jqxGrid(‘updaterow’, rowIDs, newRows);.
When the row is updated, it doesn’t pass in cellclass
source ={
updaterow: function (rowid, rowdata, commit) {
// that function is called after each edit.
alert(“toto”);
// 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 failder.
var rowindex = $(“#” + that._id).jqxGrid(‘getrowboundindexbyid’, rowid);
that._oaEditedRowsId.push(rowindex);
commit(true);
}
},
var cellclass = function (row, datafield, value, rowdata) {
for (var i = 0; i < editedRows.length; i++) {
if (editedRows[i].index == row) {
return “editedRow”;
}
}
}