You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice the parentId is undefined and the getParentRow in the console is undefined too
Expected behavior
I expected the parentId to reference the "virtual" aggregatedGroupedRow tanstack table creates internally.
How often does this bug happen?
Every time
Screenshots or Videos
Platform
OS: all
Browser: all
react-table version
v8.9.1
TypeScript version
N/A
Additional context
I think because tanstack table is creating a "virtual/fake" row for the grouping, that row id should be assigned to its subRows so we don't lose its parenting references
Terms & Code of Conduct
I agree to follow this project's Code of Conduct
I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.
The text was updated successfully, but these errors were encountered:
Describe the bug
parentId and getParentRow returns undefined for leafRows that are grouped by a given column
Your minimal, reproducible example
https://codesandbox.io/s/row-grouping-forked-pg5nco
Steps to reproduce
undefined
and thegetParentRow
in the console is undefined tooExpected behavior
I expected the parentId to reference the "virtual" aggregatedGroupedRow tanstack table creates internally.
How often does this bug happen?
Every time
Screenshots or Videos
Platform
react-table version
v8.9.1
TypeScript version
N/A
Additional context
I think because tanstack table is creating a "virtual/fake" row for the grouping, that row id should be assigned to its subRows so we don't lose its parenting references
Terms & Code of Conduct
The text was updated successfully, but these errors were encountered: