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

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

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

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

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

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 FocusSetDirectionCommand = {
    type: 'focus.setDirection';
    direction: 'ltr' | 'rtl';
};
```

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `type: 'focus.setDirection';` |  |  |
| `direction` | `direction: 'ltr' \| 'rtl';` |  |  |
