本页还没有译文
本页 17 段还没译成Русский,下面显示的是英文原文。table_setRowSelection
还没翻译译自英文(tanstack.com)本页 17 段都还没译
function table_setRowSelection<TFeatures, TData>(table, updater): void;Defined in: features/row-selection/rowSelectionFeature.utils.ts:46
Routes a row selection updater through the table's selection change handler.
The updater may be a next selection map or a function of the previous map,
matching the instance table.setRowSelection behavior.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
table
Table_Internal<TFeatures, TData>
updater
Returns
void
Example
table_setRowSelection(table, (old) => ({ ...old, [rowId]: true }))AI 翻译查看英文原文