table_toggleAllPageRowsSelected
function table_toggleAllPageRowsSelected<TFeatures, TData>(
table,
value?,
opts?): void;Defined in: features/row-selection/rowSelectionFeature.utils.ts:164
Selects or deselects every selectable row on the current page.
Omitting value toggles based on table_getIsAllPageRowsSelected(table).
Child rows are included when sub-row selection allows it.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
table
Table_Internal<TFeatures, TData>
value?
boolean
opts?
deselectAll?
boolean
Returns
void
Example
table_toggleAllPageRowsSelected(table)