0

Does anyone know how to make the first column of a p-table a different colour to the rest? And then the other columns alternating colours? I can only seem to find a way of doing this with rows? Currently the style class is just this -

[styleClass]="'p-datatable-gridlines'"

which makes the rows alternating colours, not the columns.

Pippa97
  • 79
  • 1
  • 12

1 Answers1

-2

<!DOCTYPE html>
<head>
<body>
 <meta charset-utf"8"> 
 <color>="blue"</color>





</body>


</head>
<color>"blue"</color>
Dharman
  • 30,962
  • 25
  • 85
  • 135
  • 2
    As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Dec 01 '21 at 01:41