[Vuejs]-How to get the item of a v-data-table row?

1👍

The click:row event gives Event, { item: DataTableItem } for the handlers. So you an implement your handler like the following to get the item and perform specific action with any of the item properties.

handleRowClick(e, { item }) {
  console.log(item)
  // call any method here
},

See demo

Leave a comment