vinny710
Posts: 1
|
Posted: 12/05/2016, 8:38 AM |
|
Is there a simple way in codecharge to get this done? I'd prefer PHP, but I'd accept JQuery or Javascript. I have a page with multiple tables, I am only trying to export one of them.
I've tried methods involving buttons and links with PHP or Jquery that I've found online, but either I get a browser error, or everything looks good, but when I click the button or link nothing happens.
Thank you!
_________________
Thanks!
Vinny710 |
|
|
solesz
Posts: 137
|
Posted: 12/09/2016, 2:32 AM |
|
Hi,
There is an example on the codecharge example site exactly here: http://examples.codecharge.com/ExamplePack/ExportToExcel/ExportToExcel.php
There is a step-by-step tutorial.
Basically all is about to redirect the output using the HTML header, telling to the browser that the content gonna be xls or xlsx. As far as I know, for this solution EXCEL has to be installed on the client computer.
Cheers
Solesz
|
|
|
autefrum
Posts: 9
|
Posted: 08/15/2017, 11:48 PM |
|
To temper expectations a little, this export technology is not a true Excel export. It is a saving a render of the HTML page with an XLS extension, which Excel queries with a message, but successfully opens.
|
|
|
|