table_getBottomRows

Function: table_getBottomRows()

ts
function table_getBottomRows<TFeatures, TData>(table): Row<TFeatures, TData>[];

Defined in: features/row-pinning/rowPinningFeature.utils.ts:170

Resolves the visible rows pinned to the bottom region.

The result follows state.rowPinning.bottom order and marks each row with position = 'bottom'.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal\<`TFeatures`, `TData`\>

Returns

Row\<`TFeatures`, `TData`\>[]

Example

ts
const rows = table_getBottomRows(table)