Is it possible to change VDataTable's @toggle-select-all
's behavior?
#17561
Replies: 0 comments
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.
-
I have a VDataTable that contains a list of products. Some of them can be archived, and I've displayed a checkbox that's disabled if the product can't be archived.
I've created a small function that changes
@toggle-select-all
's behavior to filter out all unarchivable products, the problem is that VDataTable considers that not all items are selected, and the next click on the header's checkbox will try to select all rows again.Is there a way to tell VDataTable what's selectable and what is not?
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions