AggregateColumnProps
Defines the configuration properties for aggregate columns in grid component. Specifies how data calculations are performed and displayed in summary rows. Controls aggregation behavior including calculation types, display formatting, and custom functions.
Props
The following table outlines the props for the AggregateColumnProps:
| Name | Type | Default | Description |
|---|---|---|---|
| cellClass | string | ((props?: CellClassProps<T>) => string) | - | Applies a CSS class to individual aggregate cells either globally or conditionally.
Accepts a static class name or a callback function that returns a class name based on cell context.
The callback receives a
|
| columnName | string | - | Defines the column name where calculated aggregate results will be displayed.
Specifies the target column for showing computed summary values in the grid.
Uses the |
| customAggregate | string | ((data: CustomAggregateData<T>[] | CustomAggregateData<T>, column: AggregateColumnProps) => Object) | - | Defines the custom function for calculating aggregate values when using custom aggregation.
Specifies the calculation logic to be executed when the |
| field | string | - | Defines the |
| footerTemplate | - | Defines the template for rendering aggregate values in grid footer cells. Specifies custom content and formatting for displaying calculated results. Accepts string templates, React elements, or functions for dynamic content generation. | |
| format | string | NumberFormatOptions | DateFormatOptions | - | Defines the format string applied to calculated aggregate values before display.
Specifies number or date formatting rules for presenting results in readable format.
Supports standard format strings and detailed |
| type | - | Defines the aggregate calculation type to be applied on the column data.
Specifies one or multiple calculation methods for comprehensive data analysis.
Supports built-in types including |