jQWidgets Forums

jQuery UI Widgets Forums Grid Export Grid data

This topic contains 15 replies, has 4 voices, and was last updated by  Peter Stoev 9 years, 9 months ago.

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
  • Export Grid data #28741

    rajiv
    Member

    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 Kumar

    Export Grid data #28742

    Peter Stoev
    Keymaster

    Hi 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 Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Export Grid data #28744

    rajiv
    Member

    Hi 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 Kumar

    Export Grid data #28745

    Peter Stoev
    Keymaster

    Hi 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 Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Export Grid data #28748

    rajiv
    Member

    Hi Peter,

    Could you please provide me link here for how to make use of file.php to work?

    Regards
    Rajiv Kumar

    Export Grid data #28750

    Peter Stoev
    Keymaster

    Hi 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 Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Export Grid data #28752

    rajiv
    Member

    Hi 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 kumar

    Export Grid data #28753

    Peter Stoev
    Keymaster

    Hi 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 Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Export Grid data #28754

    rajiv
    Member

    Hi peter,

    Could you please tell me how to host server-file.php in my server?

    Regards
    Rajiv Kumar

    Export Grid data #28755

    Peter Stoev
    Keymaster

    Hi Rajiv Kumar,

    Copy the file and paste it on your server. It is included in the source code build.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Export Grid data #28756

    rajiv
    Member

    Thank 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 kumar

    Export Grid data #28758

    Peter Stoev
    Keymaster

    Hi Rajiv Kumar,

    We do not have PDF Export.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Export Grid data #49309

    ervishalporwal
    Participant

    we 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.

    Export Grid data #49310

    Peter Stoev
    Keymaster

    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 Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Export Grid data #74816

    mohanreddy
    Participant

    Hi 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

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in to reply to this topic.