View as Markdown

API reference: @salmonui/data-grid

DataGridCopyOptionsinterface

import type { DataGridCopyOptions } from '@salmonui/data-grid';
interface DataGridCopyOptions {
    readonly includeHeaders?: boolean;
    readonly copyFormatted?: boolean;
}

copy(options).

DataGridCopyOptions members (2)
NameSignatureDescription
includeHeadersoptionalreadonly includeHeaders?: boolean;

Prepend the header texts as the first TSV line (Ctrl+Shift+H). Default false.

copyFormattedoptionalreadonly copyFormatted?: boolean;

false copies raw values instead of the display text (engine clipboard.copyFormatted). column.clipboardFormatter always wins. Default true.