table_getIsSomeRowsPinned

Function: table_getIsSomeRowsPinned()

ts
function table_getIsSomeRowsPinned<TFeatures, TData>(table, position?): boolean;

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

Checks whether any rows are pinned.

Omit position to check both regions, or pass 'top'/'bottom' to inspect one region.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

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

position?

RowPinningPosition

Returns

boolean

Example

ts
const hasPinnedRows = table_getIsSomeRowsPinned(table)