The size of the table cells keeps changing.

0
We created a table in the data view and created a function to periodically show new data.At this time, if the text length of the new data is long, the left and right lengths of the table column for that data will increase, and if it is short, it will decrease. Is there any way to solve this problem?
asked
1 answers
0

Hi Kim,

you can set fix width to cell and if content overflows if will show ellipsis (...) , just give text-ellipsis class to your cell and apply below css and set wdth as per need also show tooltip to display overflow text on hover

 

.text-ellipsis

{  white-space: nowrap; 

overflow: hidden; 

text-overflow: ellipsis; 

width: 150px;  // adjust as per requirement

display: inline-block;}

image.png

Good luck

answered