Description of problem: As mentioned in Default Styling Options, you can add the CSS class nowrap
to the table
element to prevent the table content from being split into multiple rows. I've been doing this for years with JQuery:
$('table.dataTable').toggleClass("nowrap");
Now I've moved from DataTables 1.14.1 to 2.2.1. Adding nowrap
still works, but if nowrap
is removed, nothing happens - even if I do a draw()
.
What can I do?
René