How to wrap long text in jQuery Datatable, Django Datable
The solution I proposed here is that add the following code to your site/page css property.
table.dataTable tbody td {
word-break: break-word; word-break: break-all; white-space: normal;
}
Because in the core, datatable is a standard table. So this solution also works on any html table, as long as it has table, tbody and td structure.
No comments:
Post a Comment