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

Include all pages in Excel export not working

1 Answer 855 Views
Grid
This is a migrated thread and some comments may be shown as answers.
License
Top achievements
Rank 1
License asked on 28 May 2020, 11:45 AM

Hi

If i export my data to excel, only the current page is shown.
The "AllPages" flag is set to true.

I load my data via "OnRead", because i need to implement pagination by myself.

How can i achieve this.

Kind regards
Matthias

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 28 May 2020, 01:49 PM

Hi Matthias,

With OnRead, AllPages cannot be exported because the grid Data only has the current page: https://docs.telerik.com/blazor-ui/components/grid/export/excel#notes:

If you are using the OnRead event, only the current page of data will be exported, because that's all the grid has at the time of the export action.

That said, it would, indeed, be great if that were possible, so I logged an improvement idea whose implementation you could follow here: https://feedback.telerik.com/blazor/1469312-include-all-pages-in-excel-export-should-work-with-onread

Regards,
Marin Bratanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Grid
Asked by
License
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or