b-table how to set custom column header color? #7197
Answered
by
Hiws
whokc-github
asked this question in
Q&A
-
|
Hi all, I'm a beginner in Vue and Bootstrap-vue. Recently I added a b-table to my project, but can't find a way to define a custom color for column headers. All I can find is setting the "head-variant" to "light or "dark", but this is not what user wants. Could you please advise ? Many thanks. |
Beta Was this translation helpful? Give feedback.
Answered by
Hiws
Apr 12, 2024
Replies: 1 comment 3 replies
-
|
You can use https://bootstrap-vue.org/docs/components/table#field-definition-reference |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Hiws
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
thClassorthStyleon each field definition.https://bootstrap-vue.org/docs/components/table#field-definition-reference