Posted 2 December 2019, 7:35 am EST
I have the following column definition:
<wj-flex-grid-column [binding]="'LastUpdated'" [itemFormatter]="formatDate" [width]="110" align="center">
<ng-template wjFlexGridCellTemplate cellType="ColumnHeader">
<p class="wj-header-wordwrap">Last Updated</p>
</ng-template>
</wj-flex-grid-column>
and this in ts file:
formatDate(panel, r, c, cell) {
console.log(cell);
}
formatDate is not getting called. Any idea why?
Thanks