Posted 14 September 2017, 2:24 am EST
Hello,
We have a grid that is grouped on a column, and we need to add aggregates for other columns to the summarized rows. Namely, we have a set of number columns that we need to add. However, these number columns are represented as strings, and we pass these strings into a function that formats the numbers in the desired way (for example with the specified number of decimals, with the correct currency symbol, with the correct decimal separator according to the culture, etc)
Since these columns are not actually number types in Javascript, we cannot use the built-in aggregate functionality for them. Is there any way to provide a method that does a custom aggregates, so that we can provide a function that adds up string representation of numbers?
Thank you!