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

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

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

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

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

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 SelectionCommand = SelectionSelectRowsCommand | SelectionToggleRowCommand | SelectionSelectRangeCommand | SelectionSelectAllVisibleCommand | SelectionSelectAllFilteredCommand | SelectionToggleAllCommand | SelectionClearCommand | SelectionSetCellRangeCommand | SelectionSelectCellsCommand | SelectionExtendCellSelectionCommand | SelectionSelectColumnsCommand | SelectionRestoreCommand | SelectionSetOptionsCommand;
```
