DataGrid Excel-Export: Dialog

Hi,
I want to export the data within my ejs-grid to the local system and want the user to choose a filename and location, so I need a dialog for that.
How can I show such a dialog (standard dialog) when exporting? Tried several stuff, but the documentation does not even mention it and debugging your code doesn't help.

1 Reply 1 reply marked as answer

PG Praveenkumar Gajendiran Syncfusion Team March 17, 2021 11:18 AM UTC

Hi Dave,

Thanks for contacting Syncfusion support.

We checked your query and we would like to inform you that, by default Excel Export can't access the user's local file system to download the exported Excel document in a specific location. It is based on the user browser download path setting. So, we suggest to use that settings to define a folder path or enable asking for a download path on each download.

And for query – “User can choose a filename” , You can assign the file name for the exported document by defining fileName property in ExcelExportProperties. This is explained in the below documentation. Please refer the below document for assigning the file name for the exported document,

Documentation: https://ej2.syncfusion.com/vue/documentation/grid/excel-exporting/#file-name-for-exported-document

Please get back to us if you need further assistance.

Regards
Praveenkumar G
 


Marked as answer
Loader.
Up arrow icon