jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Export Grid data
Tagged: Export Grid Data
This topic contains 15 replies, has 4 voices, and was last updated by Peter Stoev 9 years, 9 months ago.
-
AuthorExport Grid data Posts
-
Hi
I am using JQWidgets v2.9.3. When I try to export data from grid in any given format (Excel, Pdf,Rtf.. ), It redirect to another server -‘http://jquerygrid.net/export_server/save-file.php’ to download the data. But my application does not allow to communicate with another domain, so it throw error and does not allow to export the data.
When I try to execute local, It works fine for me, but once I upload on server it gives error.
Could you please tell how to overcome this scenario. Is there any other way to export data without redirecting to that server, because my application will never support to communicate with another domain.
Regards
Rajiv KumarHi Rajiv Kumar,
The save-file.php is included in the download of customers with Developer/Enterprise license. The one uploaded on our server is for Demo purposes only.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter,
Thank you for you reply, I have taken developer licence. but Still I am getting that issue.
Please tell me how to use your server- file.php. Do I need to write extra code for that.
Regards
Rajiv KumarHi Rajiv Kumar,
It is described in the Grid’s API documentation how to use the “exportdata” method and how to make your save-file.php to work instead of the Default one.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter,
Could you please provide me link here for how to make use of file.php to work?
Regards
Rajiv KumarHi Rajiv Kumar,
Please, take a look at the Grid’s API Documentation here: jquery-grid-api.htm. It is described how to use the “exportdata” method in the “exportdata” section.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter,
Thank you for reply, here it says that use export server.
Could you please tell me what export server I should give? Do you have provided any server, while purchasing licence?
It will be good for me if you provide cone code sample here which have include export server parameter.Regards
Rajiv kumarHi Rajiv kumar,
The export server parameter is your server. You should upload the save-file.php there and when you call the “exportdata” method, you should pass the url to save-file.php uploaded on your server, if you want to use it.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi peter,
Could you please tell me how to host server-file.php in my server?
Regards
Rajiv KumarHi Rajiv Kumar,
Copy the file and paste it on your server. It is included in the source code build.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThank you Peter for your support.
I have one more Issue, when I export data in PDF, downloaded format is not proper, It’s font size is large, and also column width is not proper.
Is there any way to customize the font and column width?
Regards
Rajiv kumarHi Rajiv Kumar,
We do not have PDF Export.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comwe have the Enterprise license, but could not export_server/save-file.php file. still the grid calls
http://jquerygrid.net/export_server/save-file.php
Please help ASAP.
Hi ervishalporwal,
You need to host the file(included in the Source code download package) to your server and then pass the URL to your server when you call the “exportdata” method. See “exportdata” here: http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxgrid/jquery-grid-api.htm
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter, I am using jsp to export data, and what file instead of “save-file.php” i need to save in my server? and what i need to write in my file.
Regards,
Mohan -
AuthorPosts
You must be logged in to reply to this topic.