You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've recently stumbled across a few use cases where I need to add some rows to a data table regardless of whether the items array contains any elements. These rows should not be affected by the built-in sorting or selection and always appear at the top. I am using this to insert new rows inline, show default items, etc.
It would be very useful if v-date-table could just render out the default slot content at the top of the table tbody. Currently I am using a hacky workaround where I am adding a "dummy" row just to get the items template to render, but this has some limitations and unwanted side effects.
Improvements
Offer a way for developers to easily add "static" rows to a data table.
Bugs or Edge Cases it Helps Avoid
Simplifies certain use cases.
The text was updated successfully, but these errors were encountered:
New Functionality
I've recently stumbled across a few use cases where I need to add some rows to a data table regardless of whether the items array contains any elements. These rows should not be affected by the built-in sorting or selection and always appear at the top. I am using this to insert new rows inline, show default items, etc.
It would be very useful if
v-date-table
could just render out the default slot content at the top of the tabletbody
. Currently I am using a hacky workaround where I am adding a "dummy" row just to get the items template to render, but this has some limitations and unwanted side effects.Improvements
Offer a way for developers to easily add "static" rows to a data table.
Bugs or Edge Cases it Helps Avoid
Simplifies certain use cases.
The text was updated successfully, but these errors were encountered: