Different formatting the head columns and data columns
Different formatting the head columns and data columns

Is here any standart way to set different formats for data columns and head columns?
If I set the format using columnDefs with className then the head of the column is being formatted with the data also but I need to format the head and the data parts of the columns separately.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Use CSS - the body cells are inside a
tbody
and the header cells insidethead
so you could do:To target only the header cells.
Allan