а

Online export services filename


#1

Hello,
I want to make javascript function to export excel.

function onExport(){
var v_filename = ‘test’;
mygrid.toExcel(“http://dhtmlxgrid.appspot.com/export/excel?filename=”+v_filename);
}

But, Exported file name is ‘grid’.

I want to change file name.


#2

Are you using the standalone version of export service?
The codebase doesn’t support custom filename. It is rather easy to change the behavior, though, as you have full sources of the export service.