File contain data with ngx-formly
I have to make an API call from backend, actually a delete call. For this case i need to get the details from a row that i have to select.
In this case i need to get ID for example from selected row.
fields: FormlyFieldConfig[] = [
{
key: 'investments',
type: 'repeat',
templateOptions: {
solved by adding (select)="to.selectFN($event)"
like below
<ngx-datatable
#table
class="bootstrap"
(select)="to.selectFN($event)"