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
There are tags inside my ProjectView component which gets overridden by the row.toggleExpanded(); thus closing the renderDetailPanel and leaving the tag unusable. Is there a way to solve this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am looking at the 3rd example of this page - https://material-table.com/#/docs/features/detail-panel
I am currently using this:
muiTableBodyRowProps: ({ row }) => ({ onClick: () => { row.toggleExpanded(); }, sx: { cursor: "pointer", }, }),
and I have this as my renderDetailPanel:
renderDetailPanel: ({ row }: any) => { const rowDropdownData = row.original; return <ProjectView rowDropdownData={rowDropdownData} />; },
There are tags inside my ProjectView component which gets overridden by the row.toggleExpanded(); thus closing the renderDetailPanel and leaving the tag unusable. Is there a way to solve this?
Beta Was this translation helpful? Give feedback.
All reactions