Generate excel with fields apart from grid properties
I have a requirement where I have a portal which has a grid which shows some data. At the top, we are showing some fields like the total records count, performance etc.
On click of download button, we are generating an excel file and downloading it with data from grid.
Now, I also want the total records count and performance fields which are the top to be part of excel. Attaching the screenshot.
The grid fields highlighted in green are downloading in excel.
How to add the fields highlighted in yellow which are not a part of the grid?
***Edited by Moderator Marije to add Capability tags***