table2excel-export

1.0.0 • Public • Published

Export-Html-Table-Data-into-Excel-using-Javascript

Hey guys, Want to export your Table Data (No matter its small or large) with header in excel. Also, you want to put style such as text color, background, row height or images in single cell then you are in right place. Its easy and completly writted in native Javascript. (No Dependency)

Features List

  1. exportToExcel.js will export your HTML table data into .xls format
  2. You Can Apply Height / Width / Color / bgColor / or lots of css
  3. Add Image in Row
  4. Apply Hidden row
  5. Set Row Height / Coloum width
  6. Merged Row / Column
  7. Custom File Name
  8. No Dependency | Only Vanilla JavaScript.

Uses

  • Download this packages
  • Pay attension on html file, learn how css/ images has implimented
  • Link exportToExcel.js in your file where you want perfom export action.
  • Create Table, give same id as given in exportToExcel.js (or just copy paste)
  • Create button (copy from exportToExcel.html) and apply onclick event.
  • That's it.. just try and enjoy.

Package Sidebar

Install

npm i table2excel-export

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

5.68 kB

Total Files

5

Last publish

Collaborators

  • sudhir600