I am trying to show row details of a table in bootstrap vue.
<template #cell(show_details)="row">
<div class="d-flex align-items-center">
<b-form-checkbox
v-model="row.detailsShowing"
@change="row.toggleDetails; myFunc(row);"
>
Show
</b-form-checkbox>
</div>
</template>
Here, myFunc(row) is called successfully. However, row.toggleDetails doesn't work properly. How to call this two options at one click by @change?
You need to call function , try with row.toggleDetails()