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

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

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

```ts
import type { ClipboardMethods } 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: type

```ts
type ClipboardMethods<Row> = {
    copy(ctx: ModuleContext<Row>, options?: CopyOptions): ClipboardCopy;
    parse(ctx: ModuleContext<Row>, text: string): string[][];
};
```

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `copy` | `copy(ctx: ModuleContext<Row>, options?: CopyOptions): ClipboardCopy;` |  |  |
| `parse` | `parse(ctx: ModuleContext<Row>, text: string): string[][];` |  | Parses TSV (quoted fields, CRLF) into rows of cells. |
