jQuery UI Widgets Forums ASP .NET MVC jqFrid Export Error

This topic contains 1 reply, has 2 voices, and was last updated by  ivanpeevski 1 week, 4 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • jqFrid Export Error #121103

    naveen145903
    Participant

    Hi,
    I used jqGrid in one of our asp.net mvc projects and i am facing the following error when i use the inbuilt export xls method. Request you to let me know how to resolve the issue.

    Usage: $(“#gridTasks”).jqxGrid(‘exportData’, ‘xls’, ‘TaskList’);

    Error
    redirects page to http://jquerygrid.net/export_server/dataexport.php
    with error
    413 Request Entity Too Large

    jqFrid Export Error #121106

    ivanpeevski
    Participant

    Hi naveen145903,

    For exporting large amount of data, I suggest using the exportview method(have a look at the demo here), which generates the exported file client-side and doesn’t require a server. For example:
    $("#gridTasks").jqxGrid('exportview', 'xlsx', 'TaskList'); or
    $("#gridTasks").jqxGrid('exportview', 'csv', 'TaskList');

    Alternatively, exportData allows you to export only the rows you need using the rows property.

    Please let me know if any of these solutions work for you!

    If you have any other questions, please do not hesitate to contact us again.
    Best regards,
    Ivan Peevski
    jQWidgets Team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.