How to SET JQGRID ROW background color?

。_饼干妹妹 提交于 2020-02-24 10:00:30

问题


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

Thanks in advance,


回答1:


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.



来源:https://stackoverflow.com/questions/3536285/how-to-set-jqgrid-row-background-color

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!