react-components
react-components copied to clipboard
Ability to have nested tables while using ModularTable
It would be great if there was a way to achieve nested tables while using the ModularTable component. One use case that comes to mind is displaying several configuration values under one item, for instance:
testcase1
bug1 information
bug 2 information
-----------------------------------------
testcase2
bug3 information
---------------------------------------
testcase3
--------------------------------------
testcase4
I could provide a rough wire-frame of the UI to achieve.
Thanks in advance!
Hi @moisesbenzan, ModularTable has an option to provide child rows through the subRows
property. There's an example here: https://canonical.github.io/react-components/?path=/docs/modulartable--default-story#subrows.
Will that give you what you need?
Closing this as stale. Feel free to comment or reopen if you still have an issue. Thanks!