View as Markdown

API reference: @salmonui/data-grid/engine

ViewRowInfointerface

import type { ViewRowInfo } from '@salmonui/data-grid/engine';
interface ViewRowInfo {
    readonly index: number;
    readonly kind: RowKind;
    readonly depth: number;
    readonly parentId: RowId | null;
    readonly row: unknown;
}

A row the view owns or synthesizes, resolved by id.

ViewRowInfo members (5)
NameSignatureDescription
indexreadonly index: number;
kindreadonly kind: RowKind;
depthreadonly depth: number;
parentIdreadonly parentId: RowId | null;
rowreadonly row: unknown;

The data row for kind: 'data' rows the view owns (lazy group children); null for synthetic rows.