I have a problem in defining background color for edited row.
1) we need to show different background color for the JQgrid row once editing is complete. 2) edited row color should be retained in pagination also.
I have used the below code,with this i am able to change the background color of the row once we click on edit icon, but the color is changing though the data is not edited and color is not retained in pagination.
var orgEditGridRow = grid.jqGrid.editGridRow; // save original function
$.jgrid.extend ({editGridRow : function(rowid, p){
$.extend(p,
{ // modify some parameters of editGridRow
beforeShowForm:function(rowid,p){
grid.jqGrid('setRowData',rowid, false, 'state_active');
}});
orgEditGridRow.call (this,rowid, p);
}});
please provide some suggestions to solve this issue.