Summaries
A column can opt into the grid summary row through FdcColumnSummary.
const FdcDecimalColumn<dynamic>(
fieldName: 'balance',
label: 'Balance',
summary: FdcColumnSummary(
aggregate: FdcAggregate.sum,
label: 'Total',
),
)
The summary panel remains hidden when no visible column has an active aggregate.
Runtime aggregate selection
const FdcColumnSummary(
aggregate: FdcAggregate.avg,
allowAggregateChange: true,
)
Supported aggregate operations depend on the column data type. Unsupported combinations render as unavailable rather than changing data semantics.
For dataset-level aggregate queries and paged aggregate behavior, see DataSet Aggregates.