I want to change the name in export to excel.
I want to change the name in export to excel.
1 answer
Hello,
Thank you for writing to us.
It is possible to change the file’s name of the exported report. You should use an exportTo
API call. Try setting a filename
property.
We recommend reading all the details about the parameters in the documentation:
https://www.webdatarocks.com/doc/exportto/
Also, you can change the functionality of the Toolbar using beforetoolbarcreated event. For example, you can add a new tab which will be responsible for exporting to Excel with an appropriate name of the file. Another option is to override the functionality of the existing To Excel button.
Hope this will help!
Best regards,
WebDataRocks Team