This project is read-only.

Changing header title color

Sep 4, 2014 at 9:12 AM
how do i change the color of the header title for both mouseover and not
Sep 16, 2014 at 8:11 PM
in Gridmvc.css

line # 11 define your color here like this

table.grid-table .grid-header { background-color:aliceblue; position: relative; }
Feb 15, 2015 at 3:16 AM
Edited Feb 15, 2015 at 3:48 AM
Thanks Afzal for this suggestion. It works!

A very closely related question.

How do I change the Header Text Color when its sortable?

This works to change the header text to red if I do NOT have sortable columns.
    table.grid-table .grid-header > .grid-header-title { color:#ff0000; width: 100%; margin-right: 15px; white-space: nowrap; }
If column sorting is enabled, I always get a lovely shade of blue.


Feb 15, 2015 at 3:42 AM
Edited Feb 15, 2015 at 3:52 AM
I did not notice the Edit button until it was way too late. This message is just a free artifact of having to edit a message and think about it multiple times before its good enough. If someone could delete this reply, the internet would be a much tidier place.

Grid.MVC rocks.