Posted 14 January 2020, 6:12 pm EST
I’m able to get a footer for a column that displays the total sum of all values for that column…
flexGrid.Footers.Descriptions.Add(new FooterDescription());
flexGrid.Footers.Descriptions[0].Aggregates.Add(new AggregateDefinition() { Column = 4, Aggregate = AggregateEnum.Sum });
But I’d like to format the number with commas. For example, I’d like to format the number “1234.56” as “1,234.56”.
Does anyone know how to do this?
For a normal column I can just do this…
flexGrid.Cols[InvoiceReportColumns.Total].Format = “#,##0.00”;
But how can I do this for an aggregate in the footer?