Frontend Table to Excel Export
Add-ons

Plugin Description: A simple and easy-to-use jQuery Excel export plugin: table2excel.
Usage
Include jQuery and table2excel on the page.
1 2 | <script src="jquery.min.js"></script><script src="jquery.table2excel.min.js"></script> |
Using the Plugin
1 2 3 4 5 6 | $("#yourHtmTable").table2excel({ exclude: ".excludeThisClass", name: "Worksheet Name", filename: "SomeFile.xls", // Whether to include the file extension preserveColors: false // Set to true to preserve background and font colors }); |
评论