IgxHierarchicalGrid: cell copying yields wrong results when previous rows are expanded #12472
Labels
🐛 bug
Any issue that describes a bug
grid: copy-paste
grid: hierarchical-grid
version: 14.2.x
version: 15.0.x
version: 15.1.x
✅ status: resolved
Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Description
Copying cells does not yield expected results when there are expanded rows, placed before the rows that are being copied.
Steps to reproduce
Result
The copied and pasted value is "Artist Pablo Cambeiro", so it corresponds to the cell from the row that is as many rows below the selected one, as the number of expanded rows above (2 in this example).
Valid for child grids as well.
Expected result
The pasted value to be the one that was selected and copied - "Artist Eva Lee".
Attachments
In case a previous row is not expanded, the copy operation result is correct:
![hgrid-copy-cells-issue-01](https://user-images.githubusercontent.com/35433937/208656916-272854ed-0745-4250-8961-f5869fbb3119.gif)
The text was updated successfully, but these errors were encountered: