I am currently using Vue Bootstrap and I want to be able to access the item when a row in the table is clicked.
I have set up a table and a clickmeRow method to handle the action on the clicked item.
<b-table-lite
hover
:items="items"
@row-clicked="clickmeRow(item)"
/>
Here is the method that I have created:
clickmeRow(item) {
console.log(item)
}
However, when I click on a row, it shows 'undefined' in the console.
Can someone please assist me in retrieving the item from the table after clicking?