Skclusive.Material.Component icon indicating copy to clipboard operation
Skclusive.Material.Component copied to clipboard

TableCell short text

Open kevinvenclovas opened this issue 3 years ago • 1 comments

Is there a solution to short a text in a tabelcell with ... if the text is to long?

image

i want only a single line in the tablecell

kevinvenclovas avatar Dec 25 '20 09:12 kevinvenclovas

this could be achieved using css. below class could be passed to the <TableCell Class="truncate' />

https://daily-dev-tips.com/posts/css-truncate-text-with-ellipsis/

.truncate {
  width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

skclusive avatar Dec 25 '20 11:12 skclusive