# DataTable subRows documentation missing?

**URL:** <https://community.dynatrace.com/t/datatable-subrows-documentation-missing/42867>\
**Category:** Developer Q&A Forum\
**Tags:** custom-app, coding-assistance\
**Created:** [November 28, 2023, 7:56am UTC](https://community.dynatrace.com/t/datatable-subrows-documentation-missing/42867 "2023-11-28T07:56:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilgi](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gilgi/32/11747_2.png) [@gilgi](https://community.dynatrace.com/u/gilgi)\
**Post date:** [November 28, 2023, 7:56am UTC](https://community.dynatrace.com/t/datatable-subrows-documentation-missing/42867/1 "2023-11-28T07:56:04Z")

</div>

Hi,

DataTable has the capbilities of SubRows (As mentioned [here](https://developer.dynatrace.com/reference/design-system/preview/tables/DataTable/#provide-subrows)).&nbsp;&nbsp;However, the “Show Code” does not show anything (I guess documentation is missing).

1. Could you post an example?

2. Would a subrow also be capable of being an expandable row and include inner components as well?

Gil

---

<div class="post-metadata">

**Author:** ![stefan\_eggersto](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/stefan_eggersto/32/34114_2.png) [@stefan\_eggersto](https://community.dynatrace.com/u/stefan_eggersto)\
**Post date:** [November 28, 2023, 8:30am UTC](https://community.dynatrace.com/t/datatable-subrows-documentation-missing/42867/2 "2023-11-28T08:30:41Z")

</div>

Hi&nbsp;[@gilgi](https://community.dynatrace.com/user/12008)&nbsp;,

The code is indeed missing; it will be provided with one of the next updates. In the meantime, you can use this [CodeSandbox.](https://codesandbox.io/s/ml2c4k)

I can’t answer your second question right away, I need to give it a try first.

---

<div class="post-metadata">

**Author:** ![stefan\_eggersto](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/stefan_eggersto/32/34114_2.png) [@stefan\_eggersto](https://community.dynatrace.com/u/stefan_eggersto)\
**Post date:** [November 28, 2023, 8:46am UTC](https://community.dynatrace.com/t/datatable-subrows-documentation-missing/42867/3 "2023-11-28T08:46:09Z")

</div>

You can also combine the subrows and expandable rows feature. Here is another [CodeSandbox](https://codesandbox.io/s/cranky-cohen-hw36s6?file=/src/App.tsx) where you can try it.
