i can chance the text color by doing this in jqgrid custom formatter:
function YNFormatter(cellvalue, options, rowObject)
{
var color = (cellvalue == "Y") ? "green" : "red";
var cellHtml = "<span style='color:" + color + "' originalValue='" +
cellvalue + "'>" + cellvalue + "</span>";
return cellHtml;
}
but i want to now change the background color of the whole cell (instead of the text color).
is this possible?