table_getIsAllRowsSelected
function table_getIsAllRowsSelected<TFeatures, TData>(table): boolean;Defined in: features/row-selection/rowSelectionFeature.utils.ts:358
Checks whether every selectable filtered row is selected.
The result is false when there are no filtered rows or when selection state is
empty. Sub-rows whose ancestors block descent via enableSubRowSelection are
ignored, matching the rows that table_toggleAllRowsSelected selects.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
table
Table_Internal<TFeatures, TData>
Returns
boolean
Example
const allSelected = table_getIsAllRowsSelected(table)