function row_toggleSelected<TFeatures, TData>(
row,
value?,
opts?): void;Defined in: features/row-selection/rowSelectionFeature.utils.ts:531
Selects or deselects this row.
Omitting value toggles the row. Child rows are selected recursively unless opts.selectChildren is false, sub-row selection is disabled, or the row only supports single selection. Pass deselectParents: true to also remove ancestor row ids from the selection when this row is deselected.
TFeatures extends TableFeatures
TData extends RowData
Row<TFeatures, TData>
boolean
void
row_toggleSelected(row)
row_toggleSelected(row, true)
row_toggleSelected(row, false)
row_toggleSelected(row, true, { selectChildren: false })
row_toggleSelected(row, false, { deselectParents: true })