hhurz / tableExport.jquery.plugin

jQuery plugin to export a html table to JSON, XML, CSV, TSV, TXT, SQL, Word, Excel, PNG and PDF
MIT License
984 stars 714 forks source link

Thead bold after export and define width of columns . #357

Closed ThomazWS closed 1 year ago

ThomazWS commented 1 year ago

With CSV format, is there any way to make the table header bold and define the width of columns for when I open in excel the columns not have the equal size ? For example the column name i need a width 400 and value a width 100.

hhurz commented 1 year ago

In CSV there is no way to do this. You can output the header line in uppercase or use another format that supports text styles.