API reference: @salmonui/data
AggregateDescriptorinterface
import type { AggregateDescriptor } from '@salmonui/data';interface AggregateDescriptor {
readonly columnId: ColumnId;
readonly type: AggregateType;
readonly custom?: {
custom(rows: readonly unknown[], column: unknown): unknown;
}['custom'];
readonly placement: readonly ('footer' | 'groupFooter' | 'groupCaption')[];
readonly format?: string;
}
| Name | Signature | Description |
|---|---|---|
columnId | readonly columnId: ColumnId; | |
type | readonly type: AggregateType; | |
customoptional | readonly custom?: {
custom(rows: readonly unknown[], column: unknown): unknown;
}['custom']; | Local only; never serialized. The grid calls it with its compiled column
(Data Grid engine |
placement | readonly placement: readonly ('footer' | 'groupFooter' | 'groupCaption')[]; | |
formatoptional | readonly format?: string; |