Skip to main content
Nintex Community Menu Bar
Question

use a button to refresh popup window

  • July 10, 2024
  • 5 replies
  • 0 views
  • Translate

Forum|alt.badge.img+7

I created a popup from a button set and would like to use the button I created inside the popup to refresh the charts inside the popup after a user has cycled through each of them without having to hit the back button in the charts.

I also want to avoid the user having to close the popup window and accessing the charts again. Trying to save them time and avoid clicking, closing and reopening.

Here’s a screenshot of what I’ve laid out. Any help is greatly appreciated! Thanks!

Did this topic help you find an answer to your question?
This topic has been closed for comments

5 replies

Forum|alt.badge.img+18

nirouges,

I think you could do by just re-rendering the charts with some quick javascript:

skuid.$C('MyChartUniqueID').render();


Try a button that runs a snippet like that for one of your charts and see if it works. And if it does, then you can do it for all of your charts. 🙂

Translate

Forum|alt.badge.img+2

Matt, 

I added the snippet, but clicking on my button only refreshes the current bar, but doesn’t go back to the first chart. I have 3 charts setup in the Chart Set. I tried the snippet on chart 1 and chart 2, activated the button, and nothing happened besides the chart flashing. 

As I get to the 3rd chart and click the button, it only goes back to the 2nd chart and while clicking the button, it only refreshes on itself? 

http://www.screencast.com/t/1GJOJyL9ryi

Translate

Forum|alt.badge.img+2

Got it Matt! I used the Unique ID from the responsive gride container instead. 

Translate

Forum|alt.badge.img+18

Nice work!

Translate

Forum|alt.badge.img+2

Thank you, much appreciated! 

Translate

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings