jQWidgets Forums
jQuery UI Widgets › Forums › Grid › exportdata requirements
Tagged: export data
This topic contains 1 reply, has 2 voices, and was last updated by Peter Stoev 12 years, 3 months ago.
-
Authorexportdata requirements Posts
-
Is there any requirements for exportdata. I have a commercial licenses, running on OXS 10.8.2, Apache and I am getting not errors but download is not working. I just adding your example to one of my examples for testing. I do need it to run from my server because of security. It can not make any calls out to others servers.
$(“#excelExport”).jqxButton({ theme: theme });
$(“#xmlExport”).jqxButton({ theme: theme });
$(“#csvExport”).jqxButton({ theme: theme });
$(“#tsvExport”).jqxButton({ theme: theme });
$(“#htmlExport”).jqxButton({ theme: theme });
$(“#jsonExport”).jqxButton({ theme: theme });$(“#excelExport”).click(function () {
//$(“#message”).html(“Exportdata: xls “);
$(“#jqxgridInvoice”).jqxGrid(‘exportdata’, ‘xls’, ‘Invoice’);
});
$(“#xmlExport”).click(function () {
//$(“#message”).html(“Exportdata: xml “);
$(“#jqxgridInvoice”).jqxGrid(‘exportdata’, ‘xml’, ‘Invoice’);
});
$(“#csvExport”).click(function () {
//$(“#message”).html(“Exportdata: csv “);
$(“#jqxgridInvoice”).jqxGrid(‘exportdata’, ‘csv’, ‘Invoice’);
});
$(“#tsvExport”).click(function () {
//$(“#message”).html(“Exportdata: tsv “);
$(“#jqxgridInvoice”).jqxGrid(‘exportdata’, ‘tsv’, ‘Invoice’);
});
$(“#htmlExport”).click(function () {
//$(“#message”).html(“Exportdata: html “);
$(“#jqxgridInvoice”).jqxGrid(‘exportdata’, ‘html’, ‘Invoice’);
});
$(“#jsonExport”).click(function () {
//$(“#message”).html(“Exportdata: json “);
$(“#jqxgridInvoice”).jqxGrid(‘exportdata’, ‘json’, ‘Invoice’);
});Hi David,
The way the export is supposed to work is explained in the documentation in the “exportdata” method’s section. If your PC’s firewall prevents your server to make a connection to the server that hosts the save-file.php, then the export will fail. If you want, you can host the save-file.php which comes with the source code download package on your own server. In the documentation is explained how to provide url to your server when calling the exportdata method. Also make sure that you use jQWidgets 2.7.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.