[Data Grid Reactive] Is it possible to change the file name of the export Excel?
Forge component by OutSystems R&D

I am using this code to export to excel. Is it possible to rename the file instead of DataGridReactive.xlsx?


GridAPI.GridManager.GetGridById($parameters.GridId).features.export.exportToExcel();

mvp_badge
MVP
Solution

Hi Filipe,

Just to let you know that a new version (2.3.0) of the Data Grid Reactive, has been released and that it has the feature that you've requested for. 

Hope that it helps you in your endeavors, 

Cheers,
RG

mvp_badge
MVP

Hi @Filipe Lourenço,

Thank you for your question.

The use case that you mention, makes perfect sense.

Quick question, can you tell us your opinion:
- should the developer have to pass the name with the extension (.xlsx)?
- when no name is passed would it be ok to keep that name?

Hope to hear from you,

RG

yes, without the extension and you can keep the default as it is

mvp_badge
MVP

Hi @Filipe Lourenço,

You can follow the progress of the Pull Request that I've done to support this feature!

Cheers,
RG

mvp_badge
MVP
Solution

Hi Filipe,

Just to let you know that a new version (2.3.0) of the Data Grid Reactive, has been released and that it has the feature that you've requested for. 

Hope that it helps you in your endeavors, 

Cheers,
RG

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.