I am busy learning how to use ngx data tables in Ionic apps(Using angular), and I need to be able to ad an edit and delete button to each row.
I have seen people use templates but I am not sure how this works, I make an API call and display the data as usual using
<ngx-datatable class="material"
[rows]="rowdata"
[columns]="columndata">
</ngx-datatable>
But now I need an extra column with an edit and delete button that takes the ID from each row and passes it to an edit and delete function in the .ts file.
How does one go about doing this?
Thanks R