Posted 16 July 2025, 2:45 pm EST
Hello,
I’m using @grapecity/activereports-angular version 4.2.2, and I’m trying to dynamically set the filename for PDF and XLSX exports.
Currently, when the export options window is displayed in the viewer, it always uses a static default filename. Even though I’m updating the exportSettings parameter dynamically, the viewer continues to use the initial value that was set when the ActiveReports viewer component was first rendered or initialized.
Here’s how I’m binding the export settings:
<gc-activereports-viewer
[availableExports]=“[‘pdf’, ‘xlsx’]”
[exportsSettings]=“exportSettings”
…>
It seems the updated exportSettings value is not being propagated to the viewer after the component is initialized.
Is it possible to trigger a re-render or force the viewer to recognize changes to the exportSettings parameter at runtime?
Any guidance or recommended approach would be appreciated.