I have a grid that is receiving paged data from the server (paging is done on the server) that is bound to a GridDataResult. When the Export to excel button is clicked I need to get all of the data, not just the displayed page. I tried to configure the export as shown in the example using the kendoGridExcel component (<kendo-grid-excel [fetchData]="onExcelExportClicked()" fileName="MyExcelFile.xlsx"></kendo-grid-excel>). After adding this to the grid, the function onExcelExportClicked gets called anytime something happens to the page (not even related to the grid). It gets executed multiple times on page load and each time I click on any control on the page. Is this the expected behavior?
Paul