table2excel icon indicating copy to clipboard operation
table2excel copied to clipboard

Table pulled does not have the style

Open surabhi6 opened this issue 8 years ago • 2 comments

Hi, First of all this is very helpful, Thanks. Second, When I export my tables from html to excel, the styling is not there in excel. And in one case, my whole table got hidden. Like in excel it was starting from J Column. I dont know why it did not start from A column.

surabhi6 avatar Oct 17 '17 12:10 surabhi6

This is happening to me as well.

ryanwspears avatar Mar 21 '23 14:03 ryanwspears

I figured out how you can solve this for anyone who is still interested. In the table2excel.js file around line 2548, there is a spot that sets the colspan. I just edited it to wch: 12. That should make your cells have a width of 12 characters.

ryanwspears avatar Mar 21 '23 15:03 ryanwspears