Client Side Table To Excel Export Plugin - jQuery ExcelGen
File Size: | 17 KB |
---|---|
Views Total: | 11589 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |

Yet another Table To Excel generator for jQuery that allows you to export and download your HTML table as an MS Excel file.
Alternative plugins:
- Export Table & JSON Data To Excel With jQuery - ExportToExcel
- Exporting Html Tables To CSV/XLS/XLSX/Text - jQuery TableExport
- HTML Table To Excel Converter – saveAsExcel.js
- Export Html Table To Excel Spreadsheet using jQuery - table2excel
See also:
- Convert CSV File Into Data Table
- Generate A Table From A CSV File - CSV Parser
- CSV To JSON Data Converter with jQuery
- CSV To Table Converter – CsvToTable.js
- Export JSON Data To CSV File – CSV-Export
How to use it:
1. Load the required JavaScript libraries in your html document. Dependencies:
- jQuery
- jszip.js: Create, read and edit .zip files.
- FileSaver.js: Save your file as an Excel file.
<script src="/path/to/jquery.min.js"></script> <script src="/path/to/jszip.min.js"></script> <script src="/path/to/FileSaver.min.js"></script>
2. Load the main JavaScript excel-gen.js
after jQuery.
<script src="excel-gen.js"></script>
3. Create a new ExcelGen object and specify the target html table to extract the tabular data.
myExcel = new ExcelGen({ "src_id": "yourTable" });
4. Generate an Excel spreadsheet from the tabular data.
excel.generate();
5. Decide whether or not show the headers.
myExcel = new ExcelGen({ "src_id": "yourTable", "show_header": true });
This awesome jQuery plugin is developed by ecscstatsconsulting. For more Advanced Usages, please check the demo page or visit the official website.