本页还没有译文
本页 17 段还没译成Deutsch,下面显示的是英文原文。row_getToggleSelectedHandler
还没翻译译自英文(tanstack.com)本页 17 段都还没译
function row_getToggleSelectedHandler<TFeatures, TData>(row, opts?): (e) => void;Defined in: features/row-selection/rowSelectionFeature.utils.ts:697
Creates a checkbox-style handler that selects or deselects this row.
The handler is a no-op when the row cannot be selected and reads
event.target.checked. Shift events select or deselect the inclusive range
from the most recent selectable row handled by this table. Pass
selectChildren: false to limit changes to rows explicitly present in the
display-order interval, and deselectParents: true to remove ancestor row
ids from the selection when rows are deselected.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
Parameters
row
Row<TFeatures, TData>
opts?
Returns
(e) => void
Example
const onChange = row_getToggleSelectedHandler(row)AI 翻译查看英文原文