gregnb / mui-datatables

Datatables for React using Material-UI
MIT License
2.71k stars 932 forks source link

Displaying child data in expandable rows. #1808

Open mutumakeffa opened 2 years ago

mutumakeffa commented 2 years ago

How do i display child data in expanded row. I.e the main row has a summary of a user data and after expanding i'm able to see a breakdown of the user's data in more detail. Tried using renderExpandableRow: (rowData, rowMeta) => {} but the rowdata is similar to the row. how do i arrange my data to be able to reflect the same?

Expected Behavior

Current Behavior

Steps to Reproduce (for bugs)

1. 2. 3. 4.

Your Environment

Tech Version
Material-UI
MUI-datatables
React
browser
etc
1pone commented 7 months ago

try this out https://github.com/gregnb/mui-datatables/issues/735#issuecomment-750989873