I'm attempting to display dynamic HTML within a script tag.
As part of my project, I've created a custom data-table component and now I am trying to add a column for operations.
However, I'm facing issues when trying to assign functions to buttons or more!
{
field: 'operation',
title: 'Operations',
template: (e) => {
return '<button v-on:click="methodFunction">Click</button>';
}
}
Your assistance is greatly appreciated.