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

> The GroupingSetDirectionCommand type of @salmonui/data-grid/engine.

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

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

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

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 GroupingSetDirectionCommand = {
    type: 'grouping.setDirection';
    columnId: ColumnId;
    direction: 'asc' | 'desc';
};
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `type: 'grouping.setDirection';` |  |  |
| `columnId` | `columnId: ColumnId;` |  |  |
| `direction` | `direction: 'asc' \| 'desc';` |  |  |
