jQuery DataTable overflow and text-wrapping issues
jQuery DataTable overflow and text-wrapping issues
I have the following DataTable (full-width css class sets width = 100%)
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
Is this a duplicate? http://datatables.net/forums/discussion/21110 ?
Allan
sorry.this is a duplicate.please close this.