Not sure why, but using angular 4.1.3 the column data doesn't render using internal template. It works on 2.4.2. I was able to work around by removing the *ngIf, but thought I would let you know. Another possible workaround is to define your own template (it works using _customTemplate).
`
@component({
selector: "smd-datatable-column",
template: `
<ng-template #internalTemplate *ngIf="!_template" let-model="data">
{{getFieldValue(model)}}
</ng-template>
<ng-content select="template"></ng-content>
`
})
Modified the template
@component({
selector: "smd-datatable-column",
template: `
<ng-template #internalTemplate let-model="data">
{{getFieldValue(model)}}
</ng-template>
<ng-content select="template"></ng-content>
`
})
`
Not sure why, but using angular 4.1.3 the column data doesn't render using internal template. It works on 2.4.2. I was able to work around by removing the *ngIf, but thought I would let you know. Another possible workaround is to define your own template (it works using _customTemplate).
`
@component({
})
Modified the template@component({
})
`