jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Problem with Export to Excel when 100 records in Grid.
Tagged: data grid data export, grid, grid export, javascript grid, jquery grid
This topic contains 16 replies, has 8 voices, and was last updated by jlarue 7 years, 11 months ago.
-
Author
-
Hi Sir,
When i export from excel in jqxgrid then i got error Request Entity Too Large
The requested resource
/subfolder1/export_server/save-file.php
does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.
Apache Server at jquerygrid.net Port 80what should i do for resolving this.
Thank in Advance
Thanks and regards,
Ajay k.
Hi Ajay k.,
The save-file.php hosted on our server is for demo purposes. It does not allow more than 2MB files for export.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comI have the same problem, Peter S
your answer states their is and upper limit and offers no solutions
is it a case of finding another tool?Hi keithd,
The solution is to host that file on your own server, if you have a jQWidgets Developer or Enterprise license. On our server, the limit is 2MB as the file is hosted there only for demo purposes.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comI have same problem. Yes. I had the enterprise license. But don’t know how to made it work. Can you please describe more how to do it? I try to change the http://jqwidgets.com/export_server/save-file.php to my on server but can’t work. Thanks.
I changed to $(‘#jqxTable’).jqxDataTable(‘exportData’, ‘xls’, ‘jqxDataTable’, true, null, true, “../PHPExport/save-file.php”); still appear the same error.
At chrome, debug error was POST http://jquerygrid.net/export_server/save-file.php 413 (Request Entity Too Large).
Hi neong,
The problem is that you missed the fact that you need to upload save-file.php on your server and update your exportdata method calls to use your save-file.php instead of ours which is restricted. We don’t allow large entities to be exported through our website, because the file there is hosted for evaluation purposes only.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThanks, Peter. I was managed to do it.
Hello;
I am getting to know jqwidgets controls and may use on a website for a client. Using test data we already exceed the 2MB limitation.Is it possible to host the export on my server using a Basic Website License?
Hello Peter,
I have the same problem with my data and i’m using an entreprise licence but I didn’t know how to upload save-file.php into my server. Could you please give me more details to resolve this issue.Thanks in advance and regards,
Ali NasriHi,
You should upload it to your server i.e copy it from the download folder and paste it on your server.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter,
I did it but still have no changes. Have i miss something else?Best Regards.
Ali NasriIf you have the file on your server, then set the serverURL to it when you call exportdata. Details: http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxgrid/jquery-grid-api.htm
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi,
I have the same problem with my data and i’m using an entreprise licence, i seted the serverURL to “http://localhost:4200/src/PHPExport/save-file.php” in the exportdata method, but when i execute it i have this error message: Cannot POST /src/PHPExport/save-file.php.
Please can you help me to find my error. Thank you.
Best Regards,
Mohamed KacemAlso having this issue and could use a little more help than ‘upload the php file to your sever’.
I have a developer license and I’m running ASP.NET MVC. Do I need to install PHP on my web server to make this work? Is there an ASP.NET equivalent of the export code I can host in a controller action? Do I need to setup my project to server a static file? Do I need to setup a stand alone project to host a single file to serve up exports?
Please don’t just paste a link to a canned demo or tell me to upload save-file.php to my server. Some kind of documentation or step by step instruction would be really helpful.
-
AuthorPosts
You must be logged in to reply to this topic.