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

> The AggregateInput type of @salmonui/data-grid/engine: Serializable aggregate descriptor of aggregates.set.

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

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

Also exported from `@salmonui/data-grid/engine/aggregates`.

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: type

```ts
type AggregateInput = {
    readonly columnId: ColumnId;
    readonly type: AggregateType;
    readonly customId?: string;
    readonly placement?: readonly ('footer' | 'groupFooter' | 'groupCaption')[];
    readonly format?: string;
};
```

Serializable aggregate descriptor of `aggregates.set`.

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `columnId` | `readonly columnId: ColumnId;` |  |  |
| `type` | `readonly type: AggregateType;` |  |  |
| `customId` | `readonly customId?: string;` | optional | `type: 'custom'`: key of the function in `AggregatesOptions.custom`. |
| `placement` | `readonly placement?: readonly ('footer' \| 'groupFooter' \| 'groupCaption')[];` | optional |  |
| `format` | `readonly format?: string;` | optional |  |
