carbon-design-system / carbon

A design system built by IBM
https://www.carbondesignsystem.com
Apache License 2.0
7.76k stars 1.8k forks source link

[PLEASE IGNORE, WRONG REPO] New story that shows how a DataTable can be nested into another DataTable #2223

Closed marcosimioni closed 5 years ago

marcosimioni commented 5 years ago

Summary

It would be nice to have a new story that shows how a DataTable can be nested into another DataTable.

Justification

We already have a nice story that shows how to use regular Table nested into an expandable row of another regular Table (see http://react.carbondesignsystem.com/?selectedKind=Table&selectedStory=Nested%20Table&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Fstories%2Fstories-panel). It would be nice to support nested DataTables as well and have a story demonstrating its usage.

Desired UX and success metrics

It should be possible to nest a DataTable inside the expandable row of another DataTable.

"Must have" functionality

Styles shouldn't break and it should be possible to have all the functionality of the nested DataTable working as expected, as is if it was a standalone DataTable.

Specific timeline issues / requests

No timeline! I have the feeling it should come out of the box with what we have, with a couple of minor styles adjustment such as #2006

Available extra resources

See this code pen https://codepen.io/marcosimioni/pen/bZqKxN I also have a story ready to be committed, I will attach it here as a PR.

marcosimioni commented 5 years ago

I am so sorry, this was meant to be created in the https://github.com/IBM/carbon-components-react repo. I will close this and re-create over there. Sorry for the spam ...