jqgrid alternate row background

我的未来我决定 提交于 2020-01-06 04:30:05

问题


Currently I am able to apply custom background color for odd number rows. My code to do is

$("tr.jqgrow:odd").css("background", "#FCF9E6");

on loadComplete, i am executing this code. By default on mouse over and on select of a row, I am getting background color as yellow only for even numbered rows not for odd numbered rows. How to apply custom background color along with mouse over & row selection background color functionality?

Can anyone help me?


回答1:


It seems to me that you will find the answer on your question here with the corresponding demo.



来源:https://stackoverflow.com/questions/5553177/jqgrid-alternate-row-background

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