[Feature Request] Ability to provide custom/wrapped TableRow components to a table (and allow other child-bearing list components to be given custom wrappers) #4662
MarcusDelvecchio
started this conversation in
Feature requests
Replies: 3 comments
-
Any updates or timeline on this? This is completely stopping me from using NextUI's table component |
Beta Was this translation helpful? Give feedback.
0 replies
-
Any updates? It's also blocking me from using NextUI Listbox |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
I have been looking into and following related issues involving the limitations on wrapping TableRow components or other child-rendered components because of tradeoffs within the library's internal implementation details.
However, with recent updates to the React Aria library by @devongovett it seems like there might finally be the possibility of this feature/logic being developed.
Describe the solution you'd like
As a user, I would like to be able to wrap the TableRow component in a custom component and provide it as a child to the TableBody, as a means of providing custom logic (such as expand-on-click or other state-dependant logic) to the rows within a table.
Describe alternatives you've considered
I have considered adding a 'Actions' column with a button that could trigger an appearing column, I have considered using a popover to display the content I wish to display in my expanding row, but would really love to see this core functionality built in.
Screenshots or Videos
Beta Was this translation helpful? Give feedback.
All reactions