IgxHierachicalGrid: data is not updated for child grids #13495
Labels
🐛 bug
Any issue that describes a bug
grid: hierarchical-grid
version: 15.1.x
version: 16.0.x
version: 16.1.x
✅ status: resolved
Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Description
When adding new child records to the array bound to the
IgxHierarchicalGridComponent
'sdata
and reassigning it to reflect the change (e.g.this.hgrid.data = [...this.localData]
), new child records are not reflected in child grids.Steps to reproduce
+
action strip button over any row in the "Albums" child grid.Result
New entries are added to the data as visible in the console, however, the child grid does not reflect that.
Expected result
Display the new records in the child grid.
Attachments
Probably related to the changes introduced for this issue, as the child grids are dynamically created from v. 16.0.x on.

Before that, the
data
property was bound in the template:The text was updated successfully, but these errors were encountered: