Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82812

Removing "nowrap" did not work with V2.2.1

$
0
0

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é


Viewing all articles
Browse latest Browse all 82812