I have the following DataTable (full-width css class sets width = 100%)
LOB& 10条回答 攒了一身酷 (楼主) 2020-12-07 19:20 Just simply the css style using white-space:nowrap works very well to avoid text wrapping in cells. And ofcourse you can use the text-overflow:ellipsis and overflow:hidden for truncating text with ellipsis effect. Cell Value 0 讨论(0) 查看其它10个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
Just simply the css style using white-space:nowrap works very well to avoid text wrapping in cells. And ofcourse you can use the text-overflow:ellipsis and overflow:hidden for truncating text with ellipsis effect.
white-space:nowrap
text-overflow:ellipsis
overflow:hidden
Cell Value