This is a migrated thread and some comments may be shown as answers.

Export to Excel only exports first page of data

2 Answers 350 Views
Wrappers for React
This is a migrated thread and some comments may be shown as answers.
Anthony
Top achievements
Rank 1
Anthony asked on 14 Aug 2019, 05:35 PM

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 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 15 Aug 2019, 04:55 AM
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
0
Anthony
Top achievements
Rank 1
answered on 15 Aug 2019, 04:14 PM
Thanks, Stefan.That worked well.
Tags
Wrappers for React
Asked by
Anthony
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Anthony
Top achievements
Rank 1
Share this question
or