Hi Madhura Lendhe,
Here is the documentation how to implement excel exporter:
https://docs.mendix.com/howto/integration/using-the-excel-exporter/
For further help please give more detail information about the issue.
If you are able to convert the template grid to a data grid you can use the default export function to excel by adding a button to the grid (export to excel button)
If not, then the option of Nicole is the best suggestion