I'm trying to render dynamic html in script tag
I'm create a custom data-table component for my project and now i trying to use a column for operations
but I can't assign function to button or more !
{
field: 'operation',
title: 'Operations',
template: (e) => {
return '<button v-on:click="methodFunction">Click</button>';
}
}
please help me.