# AggregateDescriptor (@salmonui/data-grid/engine)

> The AggregateDescriptor interface of @salmonui/data-grid/engine.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine/AggregateDescriptor

```ts
import type { AggregateDescriptor } from '@salmonui/data-grid/engine';
```

Entry index: https://salmonui.dev/docs/reference/data-grid/engine (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine.md).

## Reference

Kind: interface

```ts
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;
}
```

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `columnId` | `readonly columnId: ColumnId;` |  |  |
| `type` | `readonly type: AggregateType;` |  |  |
| `custom` | `readonly custom?: {     custom(rows: readonly unknown[], column: unknown): unknown; }['custom'];` | optional | Local only; never serialized. The Data Grid passes its compiled column. |
| `placement` | `readonly placement: readonly ('footer' \| 'groupFooter' \| 'groupCaption')[];` |  |  |
| `format` | `readonly format?: string;` | optional |  |
