How can I add a second table to a page?

How can I add a second table to a page?

StanRStanR 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

Answers

  • allanallan Posts: 63,460Questions: 1Answers: 10,466 Site admin
    Answer ✓

    Your two tables need different ids, then initialise them separately as regular DataTables. Elements sharing the same id is not valid HTML.

    Allan

  • StanRStanR Posts: 63Questions: 11Answers: 1

    Thanks.

This discussion has been closed.