jqgrid alternate row background

2019-08-22 06: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条回答
何必那么认真
2楼-- · 2019-08-22 06:46

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

查看更多
登录 后发表回答