-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Row expansion and nested table: nested row instead of nested tables #581
Comments
In a certain sense this is already "possible" through the We basically create a new However I would also ask, how would you define a "nested" row? Is it an array of objects that stem from the main row itself or is it a separate object that populates by reference? So would it be like const items = [
{
name: "Hello",
description: "Project Description",
subProjects: [
{
name: "World",
description: "Sub project description"
}
]
}
] Or would it be split into 2 different objects and have a shared identifier to map the correct nested rows? |
I'm running into the same issue. Fundamentally I think it is because we're nesting a |
We are using exactly this - to show nested tables to the user. We have fixed the widths to match the parent columns width. But now we are facing an issue as column resizing is not possible with nested tables and the data is truncated. |
Is your feature request related to a problem? Please describe.
When using the nested table feature, if the nested table data has the same type than the parent table, there is an issue with columns width not maching parent columns width, it's also not compatible with column resizing.
Of course we can use fixed columns width some issues, but it then adapt poorly to dynamic content.
Describe the solution you'd like
Instead of adding an extra row with
colspan
and a new table inside, we could have an option to set new rows.We can't use collapse with table
tr
, but in this example we can see a way to animate toggling rows : https://stackoverflow.com/a/37376274We could have an extra property to add new content "as rows":
This could exists along with the
content
property to both add rows and nested content (and not breaking curent implementations)The text was updated successfully, but these errors were encountered: