Vuetify Version: 2.0.11
Vue Version: 2.6.10
Browsers: Firefox 68.0
OS: Mac OS 10.14
Use item slot and expanded-item slot in v-data-table.
The expand should open only the item clicked
It expands all the rows.
Your items need a unique key. id
by default, or use item-key
for custom
Thank you @randanunn !
@randanunn thx
@randanunn not evident at all, many thanks for this!
Maybe consider adding ID to the demo at https://vuetifyjs.com/en/components/data-tables/#expandable-rows
It works but doesn't seem to include ID.
It uses item-key
to specify a custom id property.
Most helpful comment
Your items need a unique key.
id
by default, or useitem-key
for custom