本页还没有译文
本页 11 段还没译成Русский,下面显示的是英文原文。ToggleSelectedOptions
还没翻译译自英文(tanstack.com)本页 11 段都还没译
Defined in: features/row-selection/rowSelectionFeature.types.ts:11
Controls how toggling a row affects its descendants and ancestors.
Properties
deselectParents?
optional deselectParents?: boolean;Defined in: features/row-selection/rowSelectionFeature.types.ts:27
Whether ancestor row ids should be removed from the selection when this
row is deselected. Useful after a parent cascade wrote the parent id into
state and a child is later deselected. Defaults to false.
Ancestor ids are removed even when the ancestor itself cannot be selected.
Like the other targeted deselection paths, pruning is not gated by
enableRowSelection; only the bulk select-all paths preserve
non-selectable rows.
selectChildren?
optional selectChildren?: boolean;Defined in: features/row-selection/rowSelectionFeature.types.ts:16
Whether selectable child rows should be toggled recursively. Defaults to
true.