jQuery DataTable overflow and text-wrapping issues

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

I have the following DataTable (full-width css class sets width = 100%)

LOB&
10条回答
  •  鱼传尺愫
    2020-12-07 19:19

    You can just use render and wrap your own div or span around it. TD`s are hard to style when it comes to max-width, max-height, etc. Div and span is easy..

    See: https://datatables.net/examples/advanced_init/column_render.html

    I think a nicer solution then working with CSS hacks which are not supported cross browser.

提交回复
热议问题