Style individual columns instead of entire row #15506
Unanswered
SilasNiewierra
asked this question in
Q&A
Replies: 1 comment
-
Maybe you already found it but now it is possible with. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I would like to style a specific column, based on the slot instead of having all columns with the same style.
I know the
:items-class="..."
prop is able to give individual styles for entire rowstr
, however, I can't seem to find a way to style just specific columnstd
.Example:
I have a row with three columns.
I want the middle one to have a green background.
How can I achieve this?
Is there something like a css i can give to the middle column?
Right now only the following will be rendered:


But I would like to have a custom class in addition to the
v-data-table__mobile-row
like so:Beta Was this translation helpful? Give feedback.
All reactions