API reference: @salmonui/data-grid/engine
RowSnapshotinterface
import type { RowSnapshot } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid.
interface RowSnapshot<Row> {
readonly id: RowId;
readonly kind: RowKind;
readonly row: Row | null;
readonly index: number;
readonly depth: number;
readonly parentId: RowId | null;
}
| Name | Signature | Description |
|---|---|---|
id | readonly id: RowId; | |
kind | readonly kind: RowKind; | |
row | readonly row: Row | null; | |
index | readonly index: number; | Position in the visible row model; -1 when the row is filtered out. |
depth | readonly depth: number; | |
parentId | readonly parentId: RowId | null; |