jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Grid data Export
Tagged: datagrid export
This topic contains 4 replies, has 3 voices, and was last updated by Frank Wang 9 years, 11 months ago.
-
AuthorGrid data Export Posts
-
Dear All,
my issue concern the utilization of the export functionality provided by jqxgrid.
I’m using an iframe, so the export funzionality is called from iframe and not from the main web-app. Everything works fine in Firefox and Chrome but seems that in Explorer 9 and 10 it doesn’t work and it doesn’t give any errors.
The behavior is independent of the type of export(xls, csv, json…)
I’ve tried to investigate in the ‘jqxdata.export’ and ‘jqxgrid.export’ js files, but without a solution. I’ve seen that there is an hidden form to submit file so I thought that the problem could be the reference to the main window(or document) insted of the iframe window(or document), so I tryed with something like ‘top.document’ insted of document.
Or maybe, … could be some undefined variable in the iframe document that is defined in the main application document.
I hope that somebody will take care about this issue.
Thank you in advance.
Barbara
Hi Barbara,
Our Demo for Data Export is in IFrame, too and works in Internet Explorer. If there is a problem, it is not in the browser. Make sure that you use the latest version of the software and you can also provide a sample which illustrates an issue. I am sure that if there is some error the browser’s console should display it.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/Hi Peter,
thank you for your immediate response.
I’m using the 2.8.3 version,… maybe I’ll look better in the demo code.
But if it’s how you write… why if I launch the iframe alone, not inside the main web app, it works?
Barbara
Hi Barbara,
I cannot tell what goes wrong on your side without having a code to test. However, I suggest you to consider using ver. 3.0.2. We fixed issues in the data export since ver. 2.8.3.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/Hi Perter,
this issue is still existing in latest version 3.8.0, i test it in chrome and firefox, it was ok, but seems that in Explorer 11 it doesn’t work and it doesn’t give any errors.
When I try download it, I get a warning in chrome: Resource interpreted as Document but transferred with MIME type application/octet-stream: “http://jquerygrid.net/export_server/save-file.php”.
so i guess it is the problem, could we transferr document in jQWidgets package, not by accessing web site: jquerygrid.net ?<!DOCTYPE html>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″/>
<title></title>
</head>
<body>
<iframe width=”1200″ height=”600″ src=”dataexport.htm”></iframe>
</body>
</html> -
AuthorPosts
You must be logged in to reply to this topic.