Hi
I'm trying to apply some styles to a datatable component.
Specifically I'm trying to change the color of the background of the headers of all the columns. As close as I've gotten is applying:
[style]="{'width':'4rem','background-color':'red'}"
to the p-column tag (nested inside of the p-table tag) but that applies the color to the entire column, I just need the headers affected.
Thank you in advance for your help.
Rich
Basic formatting of a datatable?
-
- Information
-
Who is online
Users browsing this forum: No registered users and 17 guests