table_getIsSomePageRowsSelected

Function: table_getIsSomePageRowsSelected()

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

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

Checks whether the current page has a partial selection.

This is false when all selectable page rows are selected. Otherwise it is true if any selectable page row or descendant is selected.

Type Parameters

TFeatures

TFeatures extends TableFeatures

TData

TData extends RowData

Parameters

table

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

Returns

boolean

Example

ts
const somePageRowsSelected = table_getIsSomePageRowsSelected(table)