clarketm / TableExport

The simple, easy-to-implement library to export HTML tables to xlsx, xls, csv, and txt files.
https://tableexport.travismclarke.com/
Apache License 2.0
888 stars 289 forks source link

How to apply styles to excel file? #12

Open rherring opened 8 years ago

rherring commented 8 years ago

When saving to the xlsx format, how do I ensure the same styles are carried over? I've used both inline styling, and external styling and neither seem to work.

pierresh commented 8 years ago

This functionality would be awesome 👍

clarketm commented 8 years ago

Eventually, I too would like to integrate this feature into the plugin. This sort of customization would need to be done at a very low-level using the js-xlsx parser/writer – unless of course there is an alternative tool to convert css style declarations to compliant OpenXML style declarations. I'll keep this one on the backburner for now, at least until I can look into the minutia of this type of parsing process.

JazzvyA commented 6 years ago

Check this one. it would be helpful.

pavelvasev commented 5 years ago

need this feature too..

k1ll1n commented 5 years ago

+1

vietnguyen1992 commented 5 years ago

Please support this feature