0๐
<b-table
striped
responsive
class="mb-0"
:items="permissionsData"
>
<template #cell(module)="data">
<div @click="onPermissionClick">
{{ data.value }}
</div>
</template>
</b-table>
You will get all property in the data. but here I am mentioning cell, row, and column as per your question. other property you can see by console.log(data)
methods: {
onPermissionClick(data) {
console.log(data.value) // cell value
console.log(data.item) // row
console.log(data.field) // column
}
},
Source:stackexchange.com