I am currently using ng2table and I have all the columns being appended from ts. However, I would like to add a button to each of these columns. Can someone please assist me with how to achieve this? Thank you.
columns: Array<any> = [
{title: 'Name', name: 'name'},
{title: 'Position', name: 'position', sort: false},
{title: 'Office', name: 'office', sort: 'asc'},
{title: 'Extn.', name: 'ext', sort: ''},
{title: 'Start date', name: 'startDate'},
{title: 'Salary ($)', name: 'salary'}
];
I would like to insert a button with the label Delete for each row.