Question: How to Combine Accordion with a Table for Expandable Rows? #1330
Unanswered
jamesepirus
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on a UI where I need to display a table with rows that can expand to show additional details for each item. I thought about using an accordion inside the table to achieve this, but I'm running into some challenges. Here's a simplified version of what I'm trying to do:
What I'm trying to achieve:
When I try to implement this, it changes the way the table looks, as if the accordion item is only for the first column. I tried using asChild prop, but I wasn't sure where I have to place the let:builder value pass along to what component.
Issues:
I want to ensure proper accessibility and alignment of the accordion content within the table structure.
Is there a better approach to combining the accordion with the table structure like this?
I've tried using the
Beta Was this translation helpful? Give feedback.
All reactions