You can use thClass or thStyle on each field definition.
https://bootstrap-vue.org/docs/components/table#field-definition-reference
","upvoteCount":1,"url":"https://github.com/bootstrap-vue/bootstrap-vue/discussions/7197#discussioncomment-9093025"}}}-
|
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.
-
|
You can use https://bootstrap-vue.org/docs/components/table#field-definition-reference |
Beta Was this translation helpful? Give feedback.
You can use
thClassorthStyleon each field definition.https://bootstrap-vue.org/docs/components/table#field-definition-reference