Add Div before table when using datatable
$('table').wrap('<div class="scroll_table"></div>');
Add Div before table when using datatable
$('table').wrap('<div class="scroll_table"></div>');
The dom element can be manipulated as per the following documentation to wrap divs around a lot of the data tables functionality including the table itself https://datatables.net/reference/option/dom