I have a datatable in my program. And I want it to be scrollable horizontally so what I did was like this:
var tableI = $(\'#table_data\').DataTable({ \"bLe
This worked for me:
$('#DataTables_Table_0').on( 'draw.dt' function() { $('.dataTables_scrollBody thead tr').addClass('hidden') }
Reference: geam's March 2015 answer on datatables.net forum