jQWidgets Forums

jQuery UI Widgets Forums Grid Grid Export Server

Tagged: 

This topic contains 6 replies, has 4 voices, and was last updated by  Peter Stoev 11 years, 10 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • Grid Export Server #11923

    marchip
    Member

    Hi

    I specify in the exportdata method an url for export server, but the method call only jqwidgets.com.

    It’s my call:

    .jqxGrid(‘exportdata’, ext, widgetTitle,false,null,’/Dashboard/DownloadTable’);

     

    Is there an error?

     

    Thanks

    Grid Export Server #11925

    Peter Stoev
    Keymaster

    Hi marchip,

    You can take a look at the exportdata method and its parameters in the API documentation: jquery-grid-api.htm. I believe, the passed parameters are incorrect. In addition, make sure you have the PHP Server Script required by the export function uploaded to your server.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Grid Export Server #11928

    marchip
    Member

    I solved the problem.
    I’ve update to 2.5.5 version.

    Thanks

    Grid Export Server #18928

    ryan paul
    Participant

    hi,

    where can I download the php script

    thanks

    Grid Export Server #18932

    Peter Stoev
    Keymaster

    Hi ryan paul,

    The PHP script for the export is provided to customers with Enterprise or Developer license.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Grid Export Server #23956

    mjf784927
    Participant

    Is the example correct for what is showing as the list of parameters? Is “exportdata” the file name? and “json” the export type? if so it appears they are reversed either in the documentation or the example…

    From the API:
    The first parameter of the export method determines the export’s type – ‘xls’, ‘xml’, ‘html’, ‘json’, ‘tsv’ or ‘csv’.
    The second parameter is the file’s name. If you don’t provide a file name, the Grid will export the data to a local variable.
    For example:

    var data = $(“#jqxgrid”).jqxGrid(‘exportdata’, ‘json’);

    The third parameter is optional and determines whether to export the column’s header or not. Acceptable values are – true and false. By default, the exporter exports the columns header.
    The fourth parameter is optional and determines the array of rows to be exported. By default all rows are exported. Set null, if you want all rows to be exported.
    The fifth parameter is optional and determines whether to export hidden columns. Acceptable values are – true and false. By default, the exporter does not export the hidden columns.
    The last parameter is optional and determines the url of the export server. By default, the exporter is hosted on a jQWidgets server

    Grid Export Server #23957

    Peter Stoev
    Keymaster

    Hi,

    “exportdata” is the method name. The parameters of the method are after the method’s name. There is an online sample which shows how to use the method and also the documentation describes how to use it, too.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.