Uncaught TypeError: Cannot read property 'style' of null
Uncaught TypeError: Cannot read property 'style' of null

This is the js image that I wrote
This is the html image that I wrote
I checked before asking, I found that the answer in the forum the number of columns <th> in html is not equal to the data
Hope you help. Thank you...
This discussion has been closed.
Answers
I don't see anything obvious from the code you posted. Can you post a link to your page or a test case replicating the problem so we can help diagnose?
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin