I am getting this error with the following:
jquery.dataTables.js:4089 Uncaught TypeError: Cannot read property \'style\' of undefined(…)
_fnCalculateColumnWi
th elements in the table header or footer differs from number of columns in the table body or defined using columns option.th element in the table header.th elements in the table header or footer matches number of columns defined in the columns option.colspan attribute in the table header, make sure you have at least two header rows and one unique th element for each column. See Complex header for more information.See jQuery DataTables: Common JavaScript console errors - TypeError: Cannot read property ‘style’ of undefined for more information.