# DataGridCopyOptions (@salmonui/data-grid)

> The DataGridCopyOptions interface of @salmonui/data-grid: copy(options).

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

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

Entry index: https://salmonui.dev/docs/reference/data-grid (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid.md).

## Reference

Kind: interface

```ts
interface DataGridCopyOptions {
    readonly includeHeaders?: boolean;
    readonly copyFormatted?: boolean;
}
```

`copy(options)`.

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `includeHeaders` | `readonly includeHeaders?: boolean;` | optional | Prepend the header texts as the first TSV line (Ctrl+Shift+H). Default false. |
| `copyFormatted` | `readonly copyFormatted?: boolean;` | optional | `false` copies raw values instead of the display text (engine `clipboard.copyFormatted`). `column.clipboardFormatter` always wins. Default true. |
