如何在具有某些分组行的GridView中修复荧光笔? [英] How to fix the highlighter in the GridView that has some grouping rows?

查看:77
本文介绍了如何在具有某些分组行的GridView中修复荧光笔?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的GridView具有许多具有相同值的行,因此我使用[GridViewHelper类] [1]对这些行进行了分组.现在,我要修复荧光笔,因为当荧光笔突出显示第一行时(例如,从第一列的一个单元格分组的前三行中),荧光笔将突出显示第一单元格,但是当突出显示第二行时,它不会突出显示第一个单元格.为什么?以及如何解决?

荧光笔的CSS代码为:

I am using a GridView that has many rows with the same values, so I grouped these rows using [GridViewHelper class][1]. Now I want to fix the highlighter since when the highlighter highlights the first row, for example, from the first three rows that are grouped in one cell in the first column, the highlighter will highlight the first cell, but when it highlights the second row, it doesn''t highlight the first cell. WHY? and HOW TO FIX THAT?

The css code for the highlighter is:

.grid .datatable .row:hover
{
    background-color:#fffacd;
    color:#000;
}

推荐答案



如果可以帮助,请尝试此示例...

Hi,

Try this sample if could help...

.grid .datatable .row:hover
{	
	color:Teal;		
	font-family:Verdana;
	font-weight:lighter;
	font-size:xx-small;	
	background-color:#fffacd;
}



问候



Regards,


这篇关于如何在具有某些分组行的GridView中修复荧光笔?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆