-
-
Notifications
You must be signed in to change notification settings - Fork 613
Open
Description
Hi,
I am rendering a table, which has an expandedRowRender: (record) => <ExpandedLazyLoadedRow record={record} />,
function to render a component once data is fetched from the api.
Currently the table renders like

What I am trying to do is render the td instead of this
<tr class="rc-table-expanded-row rc-table-expanded-row-level-1">
<td class="rc-table-cell" colspan="6">
<div style="display: flex;">
<div style="flex: 1 1 0%; padding-right: 8px;">Expanded Content 1 (colspan 2)</div>
<div style="flex: 3 1 0%;">Expanded Content 2 (colspan 4)</div>
</div>
</td>
</tr>
to
<tr class="rc-table-expanded-row rc-table-expanded-row-level-1">
<td class="rc-table-cell" colspan="2">
Some content
</td>
<td class="rc-table-cell" colspan="4">
Some content
</td>
</tr>
So that it aligns correctly with the parent column. Any inputs is really appreciated.
Thank you.
Metadata
Metadata
Assignees
Labels
No labels