API reference: @salmonui/data-grid/engine
ChildScopeinterface
import type { ChildScope } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid/engine/hierarchy.
interface ChildScope {
readonly childField: string;
readonly value: unknown;
readonly getRowId?: (row: never, index: number) => RowId;
}
| Name | Signature | Description |
|---|---|---|
childField | readonly childField: string; | |
value | readonly value: unknown; | |
getRowIdoptional | readonly getRowId?: (row: never, index: number) => RowId; | Required for array sources that are written to. |