开发者

How can I make DataTable columns at least as wide as the header text?

开发者 https://www.devze.com 2023-03-30 19:34 出处:网络
I notice that when using DataTables, column headers are sometimes word wrapped, since the width is apparently just calculated based on content in the table body. How can I configure DataTables to make

I notice that when using DataTables, column headers are sometimes word wrapped, since the width is apparently just calculated based on content in the table body. How can I configure DataTables to make columns at least wide enough to hold h开发者_StackOverfloweader text without wrapping?


Have you tried white-space: nowrap; using css?

0

精彩评论

暂无评论...
验证码 换一张
取 消