I'm trying to get access of an external variable "distance" inside of a cell template. Therefore I'm looking for a way to tell the template the variable like this.
I know that the code below can't work, but how can I achieve something like this? Unfortunately, it is no option to enhance the objects of "filteredSkaterlist" with the objects of "distaneList"
<ngx-datatable [rows]="filteredList">
<ng-container *ngFor="let distance of distaneList">
<ngx-datatable-column name="distance">
<ng-template let-row="row" let-distance="distance" ngx-datatable-cell-template>
{{ row | json }}
{{ distance | json }}
</ng-template>
</ngx-datatable-column>
</ng-container>
</ngx-datatable>