View as Markdown

API reference: @salmonui/data-grid

DataGridClipboardPropsinterface

import type { DataGridClipboardProps } from '@salmonui/data-grid';
interface DataGridClipboardProps {
    onBeforeCopy?: (event: DataGridBeforeCopyEvent) => void;
    onBeforePaste?: (event: DataGridBeforePasteEvent) => void;
    onBeforeFill?: (event: DataGridBeforeFillEvent) => void;
}

Clipboard and fill events of DataGrid (part of the editing props).

DataGridClipboardProps members (3)
NameSignatureDescription
onBeforeCopyoptionalonBeforeCopy?: (event: DataGridBeforeCopyEvent) => void;
onBeforePasteoptionalonBeforePaste?: (event: DataGridBeforePasteEvent) => void;
onBeforeFilloptionalonBeforeFill?: (event: DataGridBeforeFillEvent) => void;