I have used this code to define the color/font color of then grouping row:
$opt[“groupingView”][“groupText”] = array(“<div style=’background-color:lightgreen; color:white;’>{0}</> “);
This gives static colors. Is there a way to code different colors on the groupingview depending on the data?
1 Answers
Hello,
I’ve updated the build to incorporate this feature.
.ui-jqgrid tr.jqgroup td[value^=Margaret] { background-color: #4eb3fc; } .ui-jqgrid tr.jqgroup td { background-color: lightyellow; }
I’ll be emailing you the updates as it need core JS file changes.
PS: For others, please email back for the update.
Your Answer