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
Add a prop to the v-data-table which receives a function and pass to it each item of the table (or we can even use the already existing show-expand prop). Thanks to it we can conditionally decide for each row if we want to show the button or not.
Example:
Problem to solve
Right now if we want to conditionally show the expand icon of a v-data-table we have to do this:
https://stackoverflow.com/a/77784371/19271543
Proposed solution
Add a prop to the v-data-table which receives a function and pass to it each item of the table (or we can even use the already existing show-expand prop). Thanks to it we can conditionally decide for each row if we want to show the button or not.
Example:
The text was updated successfully, but these errors were encountered: