'React table as a subcomponent for the React table
[{
instrument: 'bitcoin',
tradeAmount: '4000',
children: [
{
instrument: 'bitcoin',
tradeAmount: '1000'
},
{
instrument: 'bitcoin',
tradeAmount: '3000'
}
]
},
{
instrument: 'ethereum',
tradeAmount: '6500'
},
{
instrument: 'bitcoin1',
tradeAmount: '40003',
children: [
{
instrument: 'bit35coin',
tradeAmount: '103400'
},
{
instrument: 'bit45coin',
tradeAmount: '34000'
}
]
},
{
instrument: 'ethereum',
tradeAmount: '6500'
}
]
Hi guys I am working with the react table and managed to add a subrow but could not able to set the row size. So, I am looking to add a sub-table on click of a expand on the main table. Any help would be appreciated.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
