Back to Table

constructRow

docs/reference/functions/constructRow.md

8.21.3864 B
Original Source

Function: constructRow()

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

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

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>