Show 2 different tables in 1 DataTable Switchable Via a link in the top bar?

Show 2 different tables in 1 DataTable Switchable Via a link in the top bar?

DevXenDevXen Posts: 1Questions: 0Answers: 0
edited February 2014 in General
I would like to know if it's possible to show 2 different tables in the same DataTable.

For Example to switch between showing Uploads and Downloads. via a link in the top bar.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    A DataTable is a single table. There are two options to do what you want:

    1. Have table tables and show / hide then as needed
    2. Use DataTables' filtering abilities ( fnFilter ) to filter between the two result sets.

    Allan
This discussion has been closed.