Vuetify: [Feature Request] Add row click event to table component

Created on 13 Jun 2019  路  5Comments  路  Source: vuetifyjs/vuetify

Problem to solve

With vuetify v2.0 table are more convenient. Table just config in v-data-table tag. Now if I wanna catch RowClick Event, I must overide item template. I suggess add a onRowClick.

<v-data-table
    :headers="headers"
    :items="desserts"
    :items-per-page="5"
    @onRowClick="openDetail"
    class="elevation-1"
  ></v-data-table>


VDataTable feature

Most helpful comment

@click:row would be more in line with other components

All 5 comments

Please only create issues with the provided issue creator. In the boilerplate for creating an issue, it explains that any ticket made without this will be automatically closed. For general questions, please join the Discord chat room. You can also check reddit or stackoverflow. Thank you.

Fix format

@click:row would be more in line with other components

Would be great if you could add this to the documentation.

You mean like this?
image

Was this page helpful?
0 / 5 - 0 ratings