How to Change the name of excel exporter file after Download.

Hi All, I am using Default Export to Excel button in Datagrid. Is it possible to change the file name of the Excel which is created, from Some random name to Customized Name which I decide. Here is the example excel file name which I get when Iclick the Default Export to Excel button “export_grid_cf33fa20_xxxx_xxx_xxx_xx.xls”. I want to change this name to Dinesh.xls . Thanks in Advance for the support !!!!    
2 answers

Please vote for this Idea! ;-) :


Hi Mahesh,

In default export to excel button, the file name cannot be changed.

Kindly use the module Excel Exporter to download the respective file.


After the java action which generated the file you can change the name of the file in Name attribute.


Hope it helps!!!