Export to Excel only exports first page of data

3 posts, 0 answers
  1. Anthony
    Anthony avatar
    2 posts
    Member since:
    Aug 2010

    Posted 14 Aug 2019 Link to this post

    Hello,

    I have a grid on an oData datasource with pageable on. Using ExcelExport only gives the first page of the paged data. Is there an option like "allPages" in the jQuery version of the grid?

  2. Stefan
    Admin
    Stefan avatar
    2817 posts

    Posted 14 Aug 2019 Link to this post

    Hello, Anthony,

    With the KendoReact components this can be done using the following approach.

    On the button that will trigger the export, make a request to the server for all of the data. Then set that data to the ExcelExport component and call its save method.

    I made an example showcasing this:

    https://stackblitz.com/edit/react-e3xk6s?file=app/main.jsx

    Regards,
    Stefan
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Anthony
    Anthony avatar
    2 posts
    Member since:
    Aug 2010

    Posted 15 Aug 2019 in reply to Stefan Link to this post

    Thanks, Stefan.That worked well.
Back to Top