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

> The ClipboardCopy interface of @salmonui/data-grid/engine.

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

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

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

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: interface

```ts
interface ClipboardCopy {
    readonly text: string;
    readonly cells: number;
    readonly rows: readonly RowId[];
    readonly columns: readonly ColumnId[];
    readonly source: 'range' | 'rows' | 'cell' | 'none';
}
```

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `text` | `readonly text: string;` |  |  |
| `cells` | `readonly cells: number;` |  | Copied cells (data cells, headers excluded). |
| `rows` | `readonly rows: readonly RowId[];` |  |  |
| `columns` | `readonly columns: readonly ColumnId[];` |  |  |
| `source` | `readonly source: 'range' \| 'rows' \| 'cell' \| 'none';` |  |  |
