|
[app.component.ts]
ngOnInit(): void {
this.aggregateColumn = [];
. . . . .
}
|

Hi Joonas ,
Greetings from Syncfusion Support.
We are able to reproduce the reported issue in the shared sample, on further validating we could see that aggregate column is not initialized properly which causes the reported issue. Kindly refer the below code example,
[app.component.ts]ngOnInit(): void {this.aggregateColumn = [];. . . . .}Modified sample link - https://stackblitz.com/edit/angular-dynamic-aggregate-eds6vw
Please get back to us, if you need further assistance. We will be happy to assist you.
Regards,Manivannan Padmanaban
|
setTimeout(() => {
this.aggregateColumn = [{
columns: [
{
type: 'Count',
field: 'UnitWeight',
format: 'C2',
footerTemplate: 'My UnitWeight Total Count: ${Count}',
}
]
}];
}) |