jQuery UI Widgets Forums ASP .NET MVC jqFrid Export Error

This topic contains 2 replies, has 2 voices, and was last updated by  naveen145903 2 years, 12 months ago.

Viewing 3 posts - 1 through 3 (of 3 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

    jqFrid Export Error #121235

    naveen145903
    Participant

    Thanks for the information

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

You must be logged in to reply to this topic.