I need to template primeNG p-datatable header. I simply want to add a title to the header. I'm trying this:
<p-column field="field" header="header" [style]="{'width':'100px'}">
<ng-template ptemplate="header">
<span title="header"></span>
</ng-template>
<ng-template let-cell="rowData" pTemplate="body">
<span title="cell.field">{{cell.field}}</span>
</ng-template>
<p-column>
It works only for cell content. Any ideas?
EDIT: header text is showed. I think it taken from p-column header. When I hover over this text, span title doesn't work.