Replies: 1 comment 1 reply
-
This is how my storybook stories do it https://www.material-react-table.dev/?path=/story/features-detail-panel-examples--detail-panel-enabled-conditional muiExpandButtonProps={({ row }) => ({
sx: {
display: row.original.age > 50 ? 'flex' : 'none'
}
})} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
In the detail render of each row of my grid, some of the rows have content to show while others have none. Is there a way to conditionally enable or disable the detail render (button and all) of each row on a case by case basis, depending on the existence of content within it?
Beta Was this translation helpful? Give feedback.
All reactions