How to build a table with jquery without mData error ?
How to build a table with jquery without mData error ?

Hello,
I'm trying to build my table with jquery but I always have mData error.
Here is an example :
https://jsfiddle.net/koemmpLt/1/
I don't understand what is the diffrence between the examples any idea ?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Your generated HTML is invalid - there is no
tr
element being used in the header using:Fixes it.
Allan