我如何在鼠标悬停时禁用在DojoGrid中突出显示一行(最好使用WaveMaker)

时间:2011-08-11 17:55:11

标签: dojox.grid

我可以通过执行以下操作隐藏WaveMaker中DojoGrid的标题行:

body.tundra .Main .wmlayout .Main-clubsDojoGrid .dojoxGridHeader{
     display: none;
}

有什么类似的东西可以阻止鼠标悬停时突出显示一行吗?

1 个答案:

答案 0 :(得分:2)

这是主题引擎使用的样式规则;将.wm_template替换为您的主题名称(.wm_default)

/* Custom mouse-over color for rows */
.wm_template .wmlist-item.wmlist-item-over,
.dj_ie6 .wm_template .wmlist-item.wmlist-item-over,
.wm_template div.dojoxGrid-row.dojoxGrid-row-over, 
.wm_template .dojoxGrid-row.dojoxGrid-row-odd.dojoxGrid-row-over,
.wm_template .dojoxGridRowOver, 
.wm_template .dojoxGridRowOdd.dojoxGridRowOver,
.wm_template #wavemakerNode .wmlayout .dojoxGridRowOdd.dojoxGridRowOver a,
.wm_template .dojoxGridRowOver td.dojoxGridCell
{
    /* Document-ClickablesHover-Background */
    background-color: #333333; /* Document-ClickablesHover-Background_Color */

    /* Document-ClickablesHover-Font */
    color: #FFFFFF; /* Document-ClickablesHover-Font_Color */

}