I am trying to make a table with fixed header and columns using DataTables. Everything works except that the page takes forever to load. I only have 38 columns and 376 rows which makes a total of 14307 cells including the headers. I even used the infinite scroller but it doesn't help. I wonder if it's my coding the problem. Here's the code.
$(document).ready( function () {
var oTable = $('#tbl_name').dataTable( {
"sScrollY": "590px",
"sScrollX": "100%",
"sScrollXInner": "100%",
"bScrollCollapse": true,
"bPaginate": false,
"sDom": 'tS',
"bSort": false,
"bSortClasses": false
} );
new FixedColumns( oTable, {
"iLeftColumns": 4,
"iLeftWidth": 700
} );
} );
mysqli_fetch_array