How can I declare variable that isn't coming from parent component? In this example rowData comes from p-column but I need to declare another variable.
<p-column *ngFor="let h of header">
<template let-ms="rowData" pTemplate="body" let-m="getMetricByName(ms.metrics, h)">
{{m.name}} //for example
</template>
</p-column>