3
votes

I want to set the JQGRID row bgcolor depends upon the condition? How to do it? Im using php.

Thanks in advance,

1

1 Answers

6
votes

look at jqGrid Coloring an entire line in Grid based upon a cells value. You should examine current row values after data loading (inside of loadComplete for example). For the elements where you want change the background-color you should remove 'ui-widget-content' css class and then add another class which defines the color which you want.