jQuery DataTable overflow and text-wrapping issues

jQuery DataTable overflow and text-wrapping issues

giridhargiridhar Posts: 20Questions: 4Answers: 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

Replies

This discussion has been closed.