DataTables Buttons Extension 1.5
Thanks for your interest in the DataTables Buttons Extension!
This is a Premium Extension for TablePress. You may download and use it totally for free and without any restrictions.
At the same time, donations are highly appreciated and allow me to continue support and development of this free software.
Please choose what the Extension is worth to you:
If you want, you can then donate via PayPal. Thank you!
Based on the DataTables Buttons add-on for the DataTables JavaScript library, this Extension can add even more features to a table, namely buttons for “Copy to Clipboard”, “Save to PDF”, “Save to Excel”, “Save to CSV”, a “Print view”, and “Column Visibility”.
To use this, download, install, and activate the Extension like a regular WordPress plugin. Then, on the page where you want to show the table, insert the extended Shortcode
[table id=123 datatables_buttons="colvis,copy,csv,excel,pdf,print" /] |
and change the 123
to the desired table ID.
The value of that datatables_buttons
parameter is a comma-separated list of the buttons that shall be enabled for this table, in the desired order of appearance. The items in the list can be removed, added, or moved as desired. The different values belong to these features/buttons:
copy
: Copy to Clipboardcsv
: Save table to a CSV fileexcel
: Save table to an Excel (.xlsx) filepdf
: Save table to a PDF fileprint
: Show a Print view and dialog for the tablecolvis
: Show a column visibility button
Here’s an example of the Extension in action, with the Shortcode from above. Notice the extra buttons above the table.
First Name | Last Name | ZIP | Birthday | Points | Average | Amount |
---|---|---|---|---|---|---|
Gloria | Reeves | 67439 | 10/18/1985 | 4 | 0.1 | $50 |
Graham | Bonner | 90727 | 12/07/1983 | 4 | 0.9 | $90 |
Warren | Wheeler | 99134 | 11/11/1984 | 2 | 0.7 | $50 |
Zena | Hale | 19803 | 06/17/1987 | 9 | 0.3 | $90 |
Julia | Haupt | 24116 | 03/15/1991 | 10 | 1.0 | $40 |
Rachel | English | 58951 | 02/25/1982 | 7 | 0.3 | $20 |
Lionel | Barry | 65036 | 02/17/1980 | 7 | 0.5 | $50 |
Zena | Spears | 16874 | 12/13/1981 | 5 | 0.6 | $20 |
Dillon | Bradford | 91543 | 01/20/1985 | 7 | 0.4 | $100 |
Haley | Mcleod | 99321 | 04/12/1980 | 4 | 0.1 | $20 |
Abra | House | 99537 | 08/10/1980 | 6 | 0.1 | $60 |
Ariel | Nichols | 56555 | 04/10/1984 | 6 | 0.7 | $90 |
Roary | Ayers | 12720 | 06/19/1987 | 3 | 0.5 | $40 |
Mason | Stevens | 81062 | 08/11/1986 | 3 | 0.6 | $10 |
Gillian | Simon | 69137 | 05/12/1988 | 10 | 0.7 | $40 |
Rebekah | Fisher | 32572 | 05/21/1981 | 3 | 0.7 | $70 |
Cameron | Walls | 18788 | 11/20/1981 | 2 | 0.2 | $100 |
Phelan | Palmer | 95413 | 08/10/1988 | 6 | 0.2 | $30 |
Mona | Fischer | 48912 | 01/25/1983 | 9 | 0.6 | $40 |
Rashad | Webb | 27993 | 12/08/1983 | 4 | 0.1 | $50 |
Brandon | Kinney | 00986 | 09/15/1986 | 2 | 0.2 | $30 |
Sacha | Gould | 17722 | 07/31/1985 | 8 | 0.7 | $30 |
Brenda | Osborn | 52139 | 02/28/1981 | 4 | 0.5 | $60 |
Sophia | Flynn | 79688 | 08/07/1989 | 3 | 0.2 | $80 |
Bree | Orr | 70160 | 11/17/1988 | 9 | 0.7 | $80 |
As long as the Extension is activated as a WordPress plugin, you will be notified about available updates for it in your Dashboard.