Header alignment
Hello!
I'm trying to have some columns aligned to the left and some to the right including the header, but I can only align the data, not the header. Is there a way to modify the style of a specific header?
Thank you!
Oriol
May 9,
.aw-grid-headers .aw-column-1 {text-align: right}
Alex (ActiveWidgets)
May 10,
Thank you Alex,
but it doesn't seem to work. To change the data align I'm using
.aw-column-1 {text-align:right}
and works pretty well, but headers are always left aligned.
Oriol
May 11,
You missed a part, you have to include that entire line to make the header move instead of the data.
.aw-grid-headers .aw-column-1 {text-align: right}
Mike
May 14,
Hi Mike!
Yes, I included the entire line to change headers but nothing happens. I posted that line just to show how I'm changing the aligment for the rest of the column.
I've tried with .aw-grid-header .aw-column-1 {text-align: right} but id didn't worked. Also I tried using the Id of the grid at css but I got the same result.
Now I'm going to try with different css (XP style, classic...)
Oriol
May 16,