This project is read-only.

Different css for header & body

Jan 28, 2014 at 1:23 PM
Is it possible to define different css for header and body?
Jan 30, 2014 at 3:00 AM

.grid-table th {
       background: red;
.grid-table td {
       background: blue;
Jan 30, 2014 at 8:16 AM

Thanks but that was not what I was looking for.
See my example below. This way you can define a css class for each header & data column separately
@Html.Grid(Model).Columns(columns =>
        columns.Add(model => model.Type)
        columns.Add(model => model.Level)
Feb 5, 2014 at 4:07 AM

try to use css sleectors like:
.grid-mvc th:nth-child(1) {
          background: #C33F3F;