It's like the html
colspan
attribute. Some rows with different numbers of column than the others.
thanks
Just use the attribute "colSpan" to the <TableCell> element. This works because as it says at material-ui.com/api/table-cell : "Any other props supplied will be provided to the root element (native element)."
We can make a table with a collapsible column table with the TableRow component. Inside it, we add our TableCell with the Collapse component inside it. We created a Row component and then TableCell . Inside it, we have the Collapse component that we can click to toggle a table on or off.
Simply add the attribute, like:
<TableRowColumn colSpan={6}>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With