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

> The GroupPathSegment interface of @salmonui/data-grid/engine: One level of a group path: the grouped column and the group key (JSON form of the value).

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

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

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

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 GroupPathSegment {
    readonly columnId: ColumnId;
    readonly key: Json;
}
```

One level of a group path: the grouped column and the group key (JSON form of the value).

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `columnId` | `readonly columnId: ColumnId;` |  |  |
| `key` | `readonly key: Json;` |  |  |
