View as Markdown

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;
}
ChildScope members (3)
NameSignatureDescription
childFieldreadonly childField: string;
valuereadonly value: unknown;
getRowIdoptionalreadonly getRowId?: (row: never, index: number) => RowId;

Required for array sources that are written to.