Apply DataTable on a dynamic table with different th outputs
Apply DataTable on a dynamic table with different th outputs
lalati
Posts: 1Questions: 1Answers: 0
Hello i have a list of users and for each one a link that outputs a table with user info and dynamic data such as questions for this users and their answers in Th and Td correspondingly, the table headers questions can very alot between users.
Now that was the first problem, the second one is :
"TypeError: $(...).DataTable is not a function"
Although i included the js load file before the data tables js one
This discussion has been closed.
Answers
This can happen for a variety of reasons. Please post a link to your page or a test case showing the issue.
Kevin
The most common reason is that you are loading jQuery multiple times. But really we'd need a test case as Kevin notes and as noted in the forum rules.
Allan