jQuery DataTable overflow and text-wrapping issues

后端 未结 10 1599
遇见更好的自我
遇见更好的自我 2020-12-07 18:42

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