table_getIsAllPageRowsSelected

Function: table_getIsAllPageRowsSelected()

ts
function table_getIsAllPageRowsSelected<TFeatures, TData>(table): boolean;

Defined in: features/row-selection/rowSelectionFeature.utils.ts:291

Checks whether every selectable row on the current page is selected.

Non-selectable rows are ignored for this calculation.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

Table_Internal<TFeatures, TData>

Returns

boolean

Example

ts
const allPageRowsSelected = table_getIsAllPageRowsSelected(table)