IgxTreeGrid multipleCascade selection + filtering scenario - sibling records get implicitly deselected #13762
Labels
🐛 bug
Any issue that describes a bug
grid: row-selection
grid: tree-grid
version: 16.1.x
version: 17.0.x
version: 17.1.x
✅ status: resolved
Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Description
The current behavior of the
multipleCascade
selection is such that the parent'sselected
state is determined based on the filtered-in children, in case of applied filtering conditions.However, the result of performing the below listed steps might not quite be expected, as this behavior would cause non filtered-in sibling records' selections state to get implicitly changed.
Steps to reproduce
indeterminate
tochecked
since now all its visible children are selected.[1, 2, 3]
.Result
No selected records remain at this point, despite not having explicitly deselected the "Thomas Anderson" record.
Expected result
The non-filtered child record not to get deselected. It should become deselected only by explicitly deselecting it, or by deselecting its parent record, provided the child is within the currently filtered-in records.
Attachments
The text was updated successfully, but these errors were encountered: