本页还没有译文
本页 20 段还没译成한국어,下面显示的是英文原文。table_toggleAllRowsSelected
还没翻译译自英文(tanstack.com)本页 20 段都还没译
function table_toggleAllRowsSelected<TFeatures, TData>(
table,
value?,
opts?): void;Defined in: features/row-selection/rowSelectionFeature.utils.ts:104
Selects or deselects every selectable row before grouping.
Omitting value toggles based on table_getIsAllRowsSelected(table).
Selecting skips sub-rows whose ancestors block descent via
enableSubRowSelection. Deselecting removes matching selectable ids from the
existing selection map; rows that cannot be selected keep their selection
unless opts.deselectAll is true.
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_toggleAllRowsSelected(table)AI 翻译查看英文原文