Individual styling per column #953
Answered
by
abhaypithadiya
matthewrichter
asked this question in
Q&A
-
Hi I know I can add styling in the theme folder under Tailwind. But it effects everything the same. for example if I add text-centre to tbody, it centers the text for everything. Am I able to text-left one column and then text-center another? regards |
Beta Was this translation helpful? Give feedback.
Answered by
abhaypithadiya
Apr 30, 2023
Replies: 1 comment
-
Hey! You can use headerAttribute for class or style to the column header and bodyAttribute for class or style to each table row in this column.
Hope this helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
matthewrichter
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey!
You can use headerAttribute for class or style to the column header and bodyAttribute for class or style to each table row in this column.
Hope this helps!