Row API Reference

constructRow

Function: constructRow()

ts
function constructRow<TFeatures, TData>(
   table, 
   id, 
   original, 
   rowIndex, 
   depth, 
   subRows?, 
parentId?): Row<TFeatures, TData>;

Defined in: core/rows/constructRow.ts:30

Constructs a row instance from normalized table internals.

This wires core properties, feature prototype APIs, and instance data used by table rendering and row-model operations.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

id

string

original

TData

rowIndex

number

depth

number

subRows?

Row<TFeatures, TData>[]

parentId?

string

Returns

Row<TFeatures, TData>