≡
×
Plus
Manual
Examples
Reference
Download
Blog
Community
Support
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?
DevXen
Posts: 1
Questions: 0
Answers: 0
February 2014
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
allan
Posts: 65,822
Questions: 1
Answers: 10,951
Site admin
February 2014
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.
Replies
1. Have table tables and show / hide then as needed
2. Use DataTables' filtering abilities ( fnFilter ) to filter between the two result sets.
Allan