Posted 30 July 2021, 7:06 am EST
Hi team,
Working on export functionality to export selected rows in excel.
I have added the code for export functionality for grid with pagination by created a new grid with selected rows from the original grid. (refer lines - 147 - 212)
Now the issue is :-
Select All - header selects only the data visible on the grid not the entire data (because of pagination).
How can i select all the rows using select all header and once data is exported it should deselect the rows ?
Snippet of the code :-
https://stackblitz.com/edit/angular-uarnem?file=src/app/app.component.ts
Also once i select rows using select all header and then switch pages it should not deselect the selected rows which is happening in the above snippet.
Please provide solution for the above issue.
Thank you.