[Bug]: data table expandable
prop does not work to dynamically make rows expandable
#17612
Open
2 tasks done
Labels
component: data-table
package: @carbon/web-components
@carbon/web-components
severity: 2
https://ibm.biz/carbon-severity
type: bug 🐛
Package
@carbon/web-components
Browser
Chrome
Package version
2.11.1
React version
18.2.0
Description
In our use case we would like only some rows to be expandable. The storybook docs mention
I've tried this a few different times with and without sorting / other props we've added and I can't get it to work. Setting expandable for the entire data-table works, but then there are rows that won't have content within the expandable section which isn't what we want.
It was also pointed out by @ariellalgilmore
Reproduction/example
https://stackblitz.com/edit/github-kbd9xw-xb63ek?file=index.html
Steps to reproduce
Suggested Severity
Severity 2 = User cannot complete task, and/or no workaround within the user experience of a given component.
Application/PAL
watsonx Assistant
Code of Conduct
The text was updated successfully, but these errors were encountered: