How can I add a second table to a page?
How can I add a second table to a page?
StanR
Posts: 63Questions: 11Answers: 1
I need to add a second table to a page, and this second table uses different data than the first. I'm attaching my current page. It reads data from a local JSON file. Can anyone explain to me briefly what I need to do, or point me to some documentation? Thanks.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Your two tables need different ids, then initialise them separately as regular DataTables. Elements sharing the same id is not valid HTML.
Allan
Thanks.