Hi Guys,
I am trying to set up aggregate columns. which i am creating dynamically. Basically i have start and finish date. Based on those dates i dynamically create columns and create aggregate columns. While it shows all columns properly. but to load the columns and respective data. I have to use set time Out.
setTimeout(() => {this.treegridColumnsAgg = [{ showChildSummary: true,columns: ejcolAggregates}];},5000);
If i don't do above code then i get an error.
ej2-treegrid.es2015.js:221 [EJ2TreeGrid.Warning]: INVALID FORMAT
For more information, refer to the following documentation links:
Number format: https://ej2.syncfusion.com/documentation//base/intl.html?#supported-format-string.
Date format: https://ej2.syncfusion.com/documentation//base/intl.html?#manipulating-datetime.
Message: TypeError: value.toFixed is not a function
What is the right way to load aggregates.