Table Export
Tableexport.jquery.plugin support file type: JSON, XML, SQL, CSV, TXT, Word, Excel, Powerpoint and PDF
Easily to install and adjust options
Check other Table export tool DataTables
Record # | Username | Country | Gender | Order | Date | Price | Status | Actions |
---|---|---|---|---|---|---|---|---|
1 | Henry | United States | Male | 32 | 20-05-2014 | $240.50 | Approved | |
2 | John | United States | Female | 45 | 20-05-2014 | $240.50 | Pending | |
3 | Larry | United States | Female | 40 | 20-05-2014 | $240.50 | Suspended | |
4 | Lahm | United States | Female | 15 | 20-05-2014 | $240.50 | Blocked | |
5 | Henry | United States | Male | 32 | 20-05-2014 | $240.50 | Approved | |
2 | John | United States | Female | 45 | 20-05-2014 | $240.50 | Pending | |
3 | Larry | United States | Female | 40 | 20-05-2014 | $240.50 | Suspended | |
4 | Lahm | United States | Female | 15 | 20-05-2014 | $240.50 | Blocked | |
3 | Larry | United States | Female | 40 | 20-05-2014 | $240.50 | Suspended | |
4 | Lahm | United States | Female | 15 | 20-05-2014 | $240.50 | Blocked | |
5 | Henry | United States | Male | 32 | 20-05-2014 | $240.50 | Approved |
Installation
<script type="text/javascript" src="tableExport.js"> <script type="text/javascript" src="jquery.base64.js">
PDF Export
<script type="text/javascript" src="jspdf/libs/sprintf.js"> <script type="text/javascript" src="jspdf/jspdf.js"> <script type="text/javascript" src="jspdf/libs/base64.js">
Usage
onclick="$('#example-export').tableExport({type:'json',escape:'false'});" onclick="$('#example-export').tableExport({type:'xml',escape:'false'});" onclick="$('#example-export').tableExport({type:'sql',escape:'false'});" onclick="$('#example-export').tableExport({type:'csv',escape:'false'});" onclick="$('#example-export').tableExport({type:'txt',escape:'false'});" onclick="$('#example-export').tableExport({type:'excel',escape:'false'});" onclick="$('#example-export').tableExport({type:'doc',escape:'false'});" onclick="$('#example-export').tableExport({type:'powerpoint',escape:'false'});" onclick="$('#example-export').tableExport({type:'pdf', pdfFontSize:'14', escape:'false'});"
Options
separator: ',' ignoreColumn: [2,3], tableName:'yourTableName' type:'csv' pdfFontSize:14 pdfLeftMargin:20 escape:'true' htmlContent:'false' consoleLog:'false'