# ExportGroupCaptionHookContext (@salmonui/data-grid/engine/export)

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

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

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

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

## Reference

Kind: interface

```ts
interface ExportGroupCaptionHookContext {
    readonly columnId: ColumnId;
    readonly header: string;
    readonly key: Json;
    readonly value: unknown;
    readonly formattedKey: string;
    readonly count: number;
    readonly depth: number;
    readonly text: string;
}
```

Members (8):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `columnId` | `readonly columnId: ColumnId;` |  |  |
| `header` | `readonly header: string;` |  |  |
| `key` | `readonly key: Json;` |  |  |
| `value` | `readonly value: unknown;` |  |  |
| `formattedKey` | `readonly formattedKey: string;` |  |  |
| `count` | `readonly count: number;` |  |  |
| `depth` | `readonly depth: number;` |  |  |
| `text` | `readonly text: string;` |  | Default caption (`Header: key - N items`). |
