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

jQuery DataTable overflow and text-wrapping issues

$
0
0

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













...

LOB Creditor Line 1 Creditor Line 2 Address City State Zip

var profileTable =
$(".datatable").dataTable({
"iDisplayLength": 25,
"bDestroy": true,
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"bAutoWidth": false
});

Everything works fine until there is a record with a long text string...when a record appears with really long text, the data table overflows on the right of the page.

Can someone tell me how to either wrap the text in the cells or prevent this overflow issue?

I've tried via 'table-layout: fixed'...this prevents the overflow but sets all of the columns to the same width.

Thanks


Viewing all articles
Browse latest Browse all 82445

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>