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.

Help with event on b-table

See original GitHub issue

Hi!

I’m trying to catch when a user clicks on a row from the table, I’m using: <b-table hover :items="items" :fields="fields" :current-page="currentPage" :per-page="perPage" :filter="filter" v-on:row-clicked="test(item.item,index)"> </b-table>

and I’m declaring “test” like this: methods: { test(item, index){ console.log("WORKS!"); }

but that doesn’t seem to work, what am I doing wrong?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
asoraiamartinscommented, May 28, 2017

Thank you so much, it’s working! I was using an older version of bootstrap-vue

1reaction
tmorehousecommented, May 28, 2017

head-clicked in’t available in the current release (it is in a pending PR #460 at the moment, and might be changed to sort-changed)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Table an Event | Death With Dignity
Event tabling can be a fun, socially engaging way to raise awareness, increase grassroots support, add to your mailing list, and meet like-minded...
Read more >
How to Set Up a Proper Event Table - Display Group
1. Choose the Table The most basic question about an event table is “What's going on there?” Are people going to be seated...
Read more >
How The Event Table Can Help You Promote Your Brand At ...
Once you have positioned your table, you must decide what to place on the event table. Below are important things to place on...
Read more >
How to Arrange Tables and Seating for an Event - Eventene
The Following will guide will help you develop a stress-free and impeccable organized seating arrangement method.
Read more >
Event Planning Sheets | Jotform Tables
Organize guest information and event details. Free table templates for event planners. Easy to customize. View as spreadsheet, calendar, or cards.
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