Need a special offer?Find out if your project fits.
+

Exported Excel sheet name

Answered
Ravi Kumar asked on October 13, 2020

Hi,
 
I have exported my report to EXCEL but the sheet name is coming "Flexmonster Pivot Table".
We need to change it with file name we exported or by passing some other name.
Please provide any solution if exist.
 
Regards,
Ravi

2 answers

Public
Vera Didenko Vera Didenko Flexmonster October 13, 2020

Hello, Ravi,
 
Thank you for your question.
 
The sheet name can be set by specifying the excelSheetName parameter in the exportTo() API call. 
For example: 

var params = {
filename: 'flexmonster',
excelSheetName: 'Report'
};

flexmonster.exportTo('excel', params);

Here is a JSFiddle for illustration: https://jsfiddle.net/flexmonster/45e9k4c1/
For more information about the available Excel export options, please see the following guide.
 
Please let us know if this works fine for you.
 
Kind regards, 
Vera

Public
Ravi Kumar October 13, 2020

Hi Vera,
Thanks for the quick response.
 
As you suggested it is working fine.
 
Regards,
Ravi

Please login or Register to Submit Answer