Styling groupingview

QuestionsStyling groupingview
Anders asked 2 years ago

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
Abu Ghufran Staff answered 2 years ago

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.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

16 + 0 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?