Table_Rows

Interface: Table_Rows<TFeatures, TData>

Defined in: core/rows/coreRowsFeature.types.ts:130

Extended by

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Properties

getMaxSubRowDepth()

ts
getMaxSubRowDepth: () => number;

Defined in: core/rows/coreRowsFeature.types.ts:138

Returns the deepest structural row depth in the core row model. Root rows are depth 0, direct sub-rows are depth 1, and so on.

Returns

number


getRow()

ts
getRow: (id, searchAll?) => Row<TFeatures, TData>;

Defined in: core/rows/coreRowsFeature.types.ts:153

Returns the row with the given ID.

Parameters

id

string

searchAll?

boolean

Returns

Row<TFeatures, TData>


getRowId()

ts
getRowId: (_, index, parent?) => string;

Defined in: core/rows/coreRowsFeature.types.ts:149

Returns the row id for a given row.

Parameters

_

TData

index

number

parent?

Row<TFeatures, TData>

Returns

string


getRowsInDisplayOrder()

ts
getRowsInDisplayOrder: () => Row<TFeatures, TData>[];

Defined in: core/rows/coreRowsFeature.types.ts:145

Returns the rows in the current display order and assigns their display indexes. When expanded rows bypass pagination, expanded descendants are included in this order. This is the memoized source for row.getDisplayIndex().

Returns

Row<TFeatures, TData>[]