Click here to Skip to main content
15,893,663 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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:

CSS
.grid .datatable .row:hover
{
    background-color:#fffacd;
    color:#000;
}
Posted
Updated 16-Jan-12 22:09pm
v2
Comments
Al Moje 17-Jan-12 3:56am    
when it goes the first row...
but if it goes to the second row...

What goes means? Please rephrase your question...
matrix388 17-Jan-12 4:09am    
Sorry and I updated the question.

1 solution

Hi,

Try this sample if could help...

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


Regards,
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900