Defined in: features/row-selection/rowSelectionFeature.types.ts:129
TFeatures extends TableFeatures
TData extends RowData
_lastSelectedRowId: string | null;Defined in: features/row-selection/rowSelectionFeature.types.ts:138
Internal
The most recent row interacted with through the row selection handler.
getFilteredSelectedRowModel: () => RowModel<TFeatures, TData>;Defined in: features/row-selection/rowSelectionFeature.types.ts:142
Builds a selected-row model from rows after filtering.
RowModel<TFeatures, TData>
getGroupedSelectedRowModel: () => RowModel<TFeatures, TData>;Defined in: features/row-selection/rowSelectionFeature.types.ts:146
Builds a selected-row model from rows after grouping.
RowModel<TFeatures, TData>
getIsAllPageRowsSelected: () => boolean;Defined in: features/row-selection/rowSelectionFeature.types.ts:155
Checks whether every selectable row on the current page is selected. Sub-rows whose ancestors block sub-row selection are ignored.
boolean
getIsAllRowsSelected: () => boolean;Defined in: features/row-selection/rowSelectionFeature.types.ts:160
Checks whether every selectable filtered row is selected. Sub-rows whose ancestors block sub-row selection are ignored.
boolean
getIsSomePageRowsSelected: () => boolean;Defined in: features/row-selection/rowSelectionFeature.types.ts:164
Checks whether at least one selectable row on the current page is selected.
boolean
getIsSomeRowsSelected: () => boolean;Defined in: features/row-selection/rowSelectionFeature.types.ts:168
Checks whether at least one row id is selected.
boolean
getPreSelectedRowModel: () => RowModel<TFeatures, TData>;Defined in: features/row-selection/rowSelectionFeature.types.ts:172
Returns the core row model of all rows before row selection has been applied.
RowModel<TFeatures, TData>
getSelectedRowIds: () => string[];Defined in: features/row-selection/rowSelectionFeature.types.ts:150
Returns the ids of all selected rows.
string[]
getSelectedRowModel: () => RowModel<TFeatures, TData>;Defined in: features/row-selection/rowSelectionFeature.types.ts:176
Builds a selected-row model from the core row model.
RowModel<TFeatures, TData>
getToggleAllPageRowsSelectedHandler: () => (event) => void;Defined in: features/row-selection/rowSelectionFeature.types.ts:180
Creates a checkbox-style handler that toggles all current-page rows.
(event): void;unknown
void
getToggleAllRowsSelectedHandler: () => (event) => void;Defined in: features/row-selection/rowSelectionFeature.types.ts:184
Creates a checkbox-style handler that toggles all selectable rows.
(event): void;unknown
void
resetRowSelection: (defaultState?) => void;Defined in: features/row-selection/rowSelectionFeature.types.ts:190
Resets rowSelection to initialState.rowSelection.
Pass true to ignore initial state and reset to {}.
boolean
void
setRowSelection: (updater) => void;Defined in: features/row-selection/rowSelectionFeature.types.ts:194
Updates row selection state with a next map or updater function.
void
toggleAllPageRowsSelected: (value?, opts?) => void;Defined in: features/row-selection/rowSelectionFeature.types.ts:198
Selects/deselects all rows on the current page.
boolean
boolean
void
toggleAllRowsSelected: (value?, opts?) => void;Defined in: features/row-selection/rowSelectionFeature.types.ts:208
Selects/deselects all rows in the table.
Deselecting keeps rows that cannot be selected in the selection map unless opts.deselectAll is true.
boolean
boolean
void