Gridview Sort Header

M

MikeB

Hello All, I just added sorting to my gridview and it messed up my headers.
I do not want the test to display as blue and I can not seem to figure out
what I need to do to get it back to my normal formatting. Here is what I
current have the style set to, can any one help me get it back to my
original style before I added sorting?

TIA

..GridViewHeader

{

text-align: left;

font-weight: bold;

color: #ffffff;

background-color: black;

text-decoration: none;

}
 
M

marss

Hello All, I just added sorting to my gridview and it messed up my headers.
I do not want the test to display as blue and I can not seem to figure out
what I need to do to get it back to my normal formatting. Here is what I
current have the style set to, can any one help me get it back to my
original style before I added sorting?

This occurs because plain text in header cells was changed to link. If
you want use sorting and leave old appearance then define specific
styles for links.
Add this:
..GridViewHeader a, .GridViewHeader a:link, .GridViewHeader
a:active, .GridViewHeader a:visited, .GridViewHeader a:hover
{
font-weight: bold;
color: #ffffff;
text-decoration: none;
}

Regards,
Mykola
 
M

MikeB

Thank you.

marss said:
This occurs because plain text in header cells was changed to link. If
you want use sorting and leave old appearance then define specific
styles for links.
Add this:
.GridViewHeader a, .GridViewHeader a:link, .GridViewHeader
a:active, .GridViewHeader a:visited, .GridViewHeader a:hover
{
font-weight: bold;
color: #ffffff;
text-decoration: none;
}

Regards,
Mykola
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top