DEV Community

Discussion on: How to create a Vuetify data table that has only some expandable rows

Collapse
 
plekleft profile image
Pavel Levin
Collapse
 
wwwolfgang profile image
Wwwolfgang

Do you have a solution for this problem? Im realy interested to be able to expand rows conditionaly.

Collapse
 
jonahbranch profile image
Jonah Branch

Yes. Use the above codepen and add a "canExpand" attribute to each item, and a v-if="item.canExpand" to the expand button