Hi,
We had a requirement to change the font color of a particular column in jqGrid. We achieved it in the following manner.

Using the formatter property

The fontColorFormat function
function fontColorFormat(cellvalue, options, rowObject) {
var color = "blue";
var cellHtml = "<span style='color:" + color + "' originalValue='" + cellvalue + "'>" + cellvalue + "</span>";
return cellHtml;
}
Hope it helps!
Discover more from Nishant Rana's Weblog
Subscribe to get the latest posts sent to your email.
