CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 export grid to csv

Print topic Send  topic

Author Message
vinny710

Posts: 1
Posted: 12/05/2016, 8:38 AM Quote message

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
View profile  Send private message
solesz

Posts: 135
Posted: 12/09/2016, 2:32 AM Quote message

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
View profile  Send private message

Add new topic Reply to topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.