Variable not updating when changing parameter in viewer

Stimulsoft Reports.WEB discussion
Post Reply
liamwonka
Posts: 1
Joined: Mon Jul 14, 2025 10:24 am

Variable not updating when changing parameter in viewer

Post by liamwonka »

Hi all,
I’m having some trouble getting a variable to update properly in Stimulsoft (JS version). I’m using a variable that’s set to “Request from User” and linked to a dropdown list. It works the first time, but when I change the selection and reload the report, the output still shows the old value.
I thought reassigning `viewer.report = report` would refresh it, but it seems like the variable isn’t being updated or reset properly. Has anyone else run into this? Is there something I need to do to force it to refresh or clear old data?
Thanks in advance for any tips!
Jamie
Lech Kulikowski
Posts: 7308
Joined: Tue Mar 20, 2018 5:34 am

Re: Variable not updating when changing parameter in viewer

Post by Lech Kulikowski »

Hello,

Do you want the variable to display the previously selected values?

Thank you.
Post Reply