Willard MckenzieOnline
  • John Doe09:33

    Hi Swlabs, we have some comments for you.

  • Swlabs09:33

    Hi, we're listening you...

  report 

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

Table Export
Record #UsernameCountryGenderOrderDatePriceStatusActions
1HenryUnited StatesMale3220-05-2014$240.50Approved
2JohnUnited StatesFemale4520-05-2014$240.50Pending
3LarryUnited StatesFemale4020-05-2014$240.50Suspended
4LahmUnited StatesFemale1520-05-2014$240.50Blocked
5HenryUnited StatesMale3220-05-2014$240.50Approved
2JohnUnited StatesFemale4520-05-2014$240.50Pending
3LarryUnited StatesFemale4020-05-2014$240.50Suspended
4LahmUnited StatesFemale1520-05-2014$240.50Blocked
3LarryUnited StatesFemale4020-05-2014$240.50Suspended
4LahmUnited StatesFemale1520-05-2014$240.50Blocked
5HenryUnited StatesMale3220-05-2014$240.50Approved

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'