jQuery UI Widgets Forums Grid Grid Export Large Too Slow

This topic contains 3 replies, has 2 voices, and was last updated by  Dimitar 9 years, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Grid Export Large Too Slow #69023

    yougotnet
    Participant

    I have a grid that will contain anywhere from 7000 to 10000 rows and when exporting to Excel, it has to send that back to the server (save-file.php) and it is very slow to send 20 megs back to the server.

    Is there not a faster way of doing this?
    If the data is already downloaded in the browser, why do we have to go back to the server to download it again?

    Grid Export Large Too Slow #69040

    Dimitar
    Participant

    Hello yougotnet,

    The data may be downloaded in the browser, but it is the server-side code which creates the xls file. That is why the data has to be passed to the server first and then the file downloaded from there.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Grid Export Large Too Slow #69105

    yougotnet
    Participant

    Is it possible to compress the data before sending it?

    Grid Export Large Too Slow #69109

    Dimitar
    Participant

    Hi yougotnet,

    If you wish, you can export the grid to a variable, e.g.:

    var data = $("#jqxgrid").jqxGrid('exportdata', 'xls');

    and process it however you like client- or server-side. There is no built-in compression functionality, however.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.