Skip to content

@hobom-grid/core


@hobom-grid/core / RowModel

Type Alias: RowModel<TRow>

RowModel<TRow> = Readonly<{ rowCount: number; findVirtualIndex: number | null; getRow: TRow; getRowId: RowId; }>

Defined in: row-model/row-model.ts:16

The central abstraction of the data pipeline.

A RowModel maps "virtual row indices" (0-based, contiguous, what the grid kernel sees) to the underlying data items.

Pipeline stages (RawRows → Sorted → Filtered → ...) each produce a new RowModel with a potentially different rowCount and mapping.

Type Parameters

TRow

TRow = unknown