I'd like to customize native Material UI cell so it would show two lines of text in it with ellipsis instead of one. Adding divs inside the cell and adding style to it will not work because of how table is currently implemented.
I'd like to customize native Material UI cell so it would show two lines of text in it with ellipsis instead of one. Adding divs inside the cell and adding style to it will not work because of how table is currently implemented.
Using wordWrap solve my problem Use wordWrap like below:
<TableCell
style={{
whiteSpace: "normal",
wordWrap: "break-word"
}}
>Some Long content .........
</TableCell>