I tried to specify custom template for stacked column in TreeGrid but it's not working as expected.
# report.component.ts
constructor() {
this.nameColumns = [
{ field: 'code', headerText: 'Code', width: 100 },
{ field: 'name', headerText: 'Name', template: '#name_template'},
];
}
# report.component.html
<ejs-treegrid [dataSource]="dataset$ | async">
<e-columns>
<e-column headerText="" [columns]="nameColumns">
<ng-template id="name_template" #template let-data>
<a [rel='nofollow' href]="routeLedger(data.id) | async" (click)="navigate($event, data.id)">{{ data.name }}</a>
</ng-template>
</e-column>
<e-column field="debit" headerText="Debit (RM)"></e-column>
<e-column field="credit" headerText="Credit (RM)"></e-column>
</e-columns>
</ejs-treegrid>
Result: