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

> The FocusDirection type of @salmonui/data-grid/engine: left/right are visual and flip in RTL; the others are logical.

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

```ts
import type { FocusDirection } 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 FocusDirection = 'up' | 'down' | 'left' | 'right' | 'home' | 'end' | 'pageUp' | 'pageDown' | 'firstCell' | 'lastCell' | 'nextRegion' | 'previousRegion';
```

`left`/`right` are visual and flip in RTL; the others are logical.
