下面这段代码在单独行的时候没有问题, setTimeout(function() { //鼠标经过 $(".x-table tr").mousemove(function() { //所在行背景色:红色 $(this).css("background-color","yellow"); }); //鼠标离开 $(".x-table tr").mouseout(function() { //所在行背景色:白色 $(this).css("background-color","white"); }) },1000); 但是其中如果有几列是分组的时候,就会出现问题;或者存在冻结列的时候,冻结列和非冻结列是分开点亮的,请问该怎么写才能解决以上两个问题? |
最佳回答 |
||||
0
|
|