I capsuled a kendo-grid-column inside a new component using
<imx-gridColumn field="Count" title="Count">
...
</imx-gridColumn>
The component using imx-gridColumn is templated with
<kendo-grid-column #column field="{{field}}">
...
</kendo-grid-column>
So far so good. Now I like to do something like
<imx-gridColumn field="Message" title="A longer message">
<ng-template kendoGridCellTemplate let-dataItem>
<button (click)="ShowMessage(dataItem)">Show my message</button>
</ng-template>
</imx-gridColumn>
to apply a template to this specific column. Other columns should use the standard template provided by the kendo-grid-column.
Is there an easy way to pass the ng-template to the kendo-grid-column?
If there isn't, how can I alter the content of the column, that the button is used instead of a simple text?
Edit
After some research I was able to extract the template using @ContentChild(TemplateRef) Template:TemplateRef<ElementRef> which at least contains some data. But now I'm stuck on pushing this template to my kendo-grid-column.