Stuck in Expandable react-table after feeding getSubRows the same row back #5239
Unanswered
faqeerhussein
asked this question in
Q&A
Replies: 2 comments
-
https://tanstack.com/table/v8/docs/api/features/expanding#getrowcanexpand |
Beta Was this translation helpful? Give feedback.
0 replies
-
The The correct way is to use the sub-component feature: https://tanstack.com/table/latest/docs/framework/react/examples/sub-components |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to expand the row, so that I can show the 'further detail' into expanded row. my data does not contain any subRows, so i provided useReactTable hook's option getSubRows with same row back like,
getSubRows: row => ([row]),
, but it gives me error asRangeError: Maximum call stack size exceeded
atnode_modules\@tanstack\table-core\build\lib\index.mjs (2786:189) @ Array.join() ..
Can someone help this noob here?Beta Was this translation helpful? Give feedback.
All reactions