API reference: @salmonui/data-grid/engine
ClipboardCopyinterface
import type { ClipboardCopy } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid/engine/clipboard.
interface ClipboardCopy {
readonly text: string;
readonly cells: number;
readonly rows: readonly RowId[];
readonly columns: readonly ColumnId[];
readonly source: 'range' | 'rows' | 'cell' | 'none';
}
| Name | Signature | 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'; |