I know it\'s been asked before, but I cant get it to run and I\'m out of things to try.
I want to colorize a row in a Grid if its value is not 1 - I use a custom for
for anyone that looking for a real answer at this topic..
this works !
afterInsertRow : function(rowid, rowdata)
{
if (rowdata.colmodelnamefield == "something")
{
$(this).jqGrid('setRowData', rowid, false, 'StyleCss');
}
}
In another file stylesheet the custom CSS
.StyleCss{ background-color:red !important; }
dont forget the !important to overwrites the theme ui roller