VDataTable doesn't allow the ability to override the tbody element
#17451
Unanswered
craigrileyuk
asked this question in
Ideas
Replies: 1 comment
-
|
I have the same issue, currently I am not able to animate the table content, which is not ideal... |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
vuetify/packages/vuetify/src/labs/VDataTable/VDataTable.tsx
Lines 216 to 224 in 0c47292
Previously, the way to implement something like table row animation was to replace the
tbodyHTML element with atransition-group. However, thebodyslot is nested insidetbodyand thetbodyslot renders after the original tbody.Given that
VDataTableHeadersisn't exported, there's no way to re-implement the table functionality easily with the default slot either.Ideally, the default content for the
bodyslot should encompass thetbodytag as well.Beta Was this translation helpful? Give feedback.
All reactions