Skip to content

Zenoo/excel-export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

excelExport

Export your HTML tables to Excel format.

Doc

  • Installation

Simply import JQuery & excel-export into your HTML.

<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script src="https://unpkg.com/jquery-excel-exporter@1.2.0/excel-export.min.js"></script>	
  • How to use Select your table(s) with a JQuery selector.
$('table').excelExport();
  • Options
{
    toRemove: ['a','div','img','input'], //Selectors to remove before exporting
    title: 'Exported_Table' //File name
}
  • Example
$('table').excelExport({
  toRemove: ['a.hidden','div'],
  title: "Table_Test"
});

Authors

About

Export your HTML table to Excel format.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published