How can I get two different DataTables to show up on one page?
How can I get two different DataTables to show up on one page?
esho
Posts: 1Questions: 1Answers: 0
So I have two different data tables that have two different data sources that I would like to show up under each other. I have tried to just have two tables with different ID's but only the first one will show up. I have also tried to use the class method where I gave both of them the class 'display' but I cant seem to figure out how to initialize them both differently when I do that. I would really appreciate some help. I have attached a jsFiddle as well.
Thanks!
This discussion has been closed.
Answers
I looked at your data table options, you have several errors and some legacy code. Make sure the options that you are using match https://datatables.net/reference/option/