API reference: @salmonui/data-grid/engine
PasteResultinterface
import type { PasteResult } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid/engine/clipboard.
interface PasteResult {
readonly rows: number;
readonly columns: number;
readonly applied: number;
readonly skipped: number;
readonly clipped: boolean;
readonly target: CellRange | null;
}
| Name | Signature | Description |
|---|---|---|
rows | readonly rows: number; | Rows x columns of the parsed text. |
columns | readonly columns: number; | |
applied | readonly applied: number; | Target cells that received a value (also while async validation of the write is pending). |
skipped | readonly skipped: number; | Target cells skipped (read-only, outside the grid). |
clipped | readonly clipped: boolean; | True when the text was cut to fit the selected range or the grid edge. |
target | readonly target: CellRange | null; | Top-left target cell and the covered range. |