Can I rotate the table while exporting to excel .
Can I rotate the table while exporting to excel .
rashad
Posts: 3Questions: 2Answers: 0
i want transpose rows and columns placement.
This discussion has been closed.
Answers
Well you can do anything but it is complex and you will be more or less on your own. You will need to develop a basic understanding of Open Office XML as well. No fun ...
https://datatables.net/reference/button/excelHtml5
Search for "Customisation" on that page.
Here is an example for an excel export in which I also move cells for certain columns etc. In addition I define my own fonts and apply them etc.
Would I do it again? Probably not client side, but do it with something like PHP Spreadsheet on the server. PHP Spreadsheet allows you to use your own templates as well.
ok, some code. You are not doing any customization of the excel export in that code. So this is not quite in line with "i want transpose rows and columns placement."
Good luck!