I am getting this error with the following:
jquery.dataTables.js:4089 Uncaught TypeError: Cannot read property \'style\' of undefined(…) _fnCalculateColumnWi
It can also happen when drawing a new (other) table. I solved this by first removing the previous table:
$("#prod_tabel_ph").remove();