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

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

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

```ts
import type { FocusSetModeCommand } 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 FocusSetModeCommand = {
    type: 'focus.setMode';
    mode: 'navigate' | 'edit';
};
```

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `type: 'focus.setMode';` |  |  |
| `mode` | `mode: 'navigate' \| 'edit';` |  |  |
