Browsers: Chrome 77.0.3865.120
OS: Windows 10
In v-data-table
component we have header-props
prop. In docs it is described:
Pass props to the default header. See 'v-data-table-header' API for more information
However component v-data-table-header
does not exist.
Also in the dropdown for v-data-table
API docs this component is not listed.
Docs should describe v-data-table-header
component.
In docs, there is no information about the v-data-table-header
component.
more than one month, this issue is still opening... i met this, OMG
I need it too, I'd like to tailor the header to have a different background color...
Same here, need to change the header background color.
I need it too, I'd like to tailor the header to have a different background color...
You can add class
with background-color
in headers
This is also referenced in the vuetify 1.5 => 2.x migration docs.
https://vuetifyjs.com/en/getting-started/releases-and-migrations/ under v-data-table
. There's no information about the header-props
object.
I need it too, I'd like to tailor the header to have a different background colour...
We really need that information but for now as a workaround I'm using deep styling (values for dark theme):
<style scoped>
::v-deep .v-data-table-header {
background-color: #ccc;
}
::v-deep th {
color: #000 !important;
}
</style>
Most helpful comment
I need it too, I'd like to tailor the header to have a different background color...