Let's say that I have a column defined as
JavaScript{
dataField: 'SaleAmount',
alignment: 'right',
format: 'currency',
precision: 2
}
and a summary item defined as
JavaScript{
column: 'SaleAmount',
summaryType: 'sum'
}
My summary is not going to be formatted as a currency.
Instead, I have to repeat things we already know:
JavaScript{
column: 'SaleAmount',
summaryType: 'sum',
valueFormat: 'currency',
prevision: 2
}
Of course, having a summary with a different format than the column is a perfectly valid scenario but as a developer I would expect the default summary to mimic the column's formatting.
What do you think about that?