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

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

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

```ts
import type { SelectionClearCommand } 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 SelectionClearCommand = {
    type: 'selection.clear';
    rows?: boolean;
    cells?: boolean;
    columns?: boolean;
};
```

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `type` | `type: 'selection.clear';` |  |  |
| `rows` | `rows?: boolean;` | optional |  |
| `cells` | `cells?: boolean;` | optional |  |
| `columns` | `columns?: boolean;` | optional |  |
