question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] Add row click event to table component

See original GitHub issue

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>

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
jacekkarczmarczykcommented, Jun 13, 2019

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

0reactions
KaelWDcommented, Feb 7, 2020

You mean like this? image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular Material table row (click) event triggered when ...
Try adding $event.stopPropagation() to one of the deeper click handlers (like on the cell). try doing something similar to this:
Read more >
Present data in tables - Retool Docs
When you add tables to the Canvas, their columns are set to Auto. You can set column types manually by clicking on the...
Read more >
Table | Quasar Framework
Dessert (100g serving) Calories Fat (g) Carbs (g) Protein (g) Sodium (mg) Ca... Index: 4994 Cupcake 305 3.7 67 4.3 413 3% Index: 4995 Gingerbread...
Read more >
How to Use Tables (The Java™ Tutorials > Creating a GUI ...
Creating a Simple Table; Adding a Table to a Container ... The entire first row is selected, indicating that you have selected Kathy...
Read more >
Overview of Excel tables - Microsoft Support
Excel table with header data, but not selected with the My table has headers ... Total row Once you add a total row...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found