View as Markdown

API reference: @salmonui/data-grid/engine

ClipboardFillCommandtype

import type { ClipboardFillCommand } from '@salmonui/data-grid/engine';

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

type ClipboardFillCommand = {
    type: 'clipboard.fill';
    target: CellKey;
    source?: CellRange;
};

Autofill: extends the current range (or source) to target, tiling the source values.

ClipboardFillCommand members (3)
NameSignatureDescription
typetype: 'clipboard.fill';
targettarget: CellKey;
sourceoptionalsource?: CellRange;