如何设置JQGRID ROW背景颜色? [英] How to SET JQGRID ROW background color?

查看:95
本文介绍了如何设置JQGRID ROW背景颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要设置JQGRID行bgcolor取决于条件吗?怎么做?我正在使用php.

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

预先感谢

推荐答案

查看

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.

这篇关于如何设置JQGRID ROW背景颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆