afViewRefresherExt icon

afViewRefresherExt

Auto-refresh your SkySpark Views
afViewRefresherExtForum
< All topics

Registered StackHub users may elect to receive email notifications whenever a new package version is released or a comment is posted on the forum.

There are 4 watchers.


Auto-Refresh Set UP confusion
Delali EkpehFri 26th Sep

Hi Fantom Factory,

I'm having trouble setting up the "Start Auto-Refresh" button on my View. I may have gotten the steps confused. Here's what I have done:

  1. I have a view that inherits the Tile View.
  2. In the view source I added the buttons: afRefreshInterval, btnStart, btnStop, btnRefresh, & btnSettings.
  3. Set the defVal:5s and then in the View pressed the "Start Auto-Refresh". But nothing seems to happen.

Am I missing a step?

Thanks Delali,

Delali EkpehMon 29th Sep

Hi Fantom Factory team, I figured out the issue.

For those who might have trouble getting the Auto Refresh to work, in my tile view source code I added afRefreshInterval, btnStart, btnStop, btnRefresh,btnSettings & a defVal of 5s.

What makes the start button refresh for all views in the tile view is that you must bind each subView to the same default variable.

So I added this to my source on every subView in the tile View:

afRefreshInterval: {var input binding:"../afRefreshInterval"}

btnSettings: {dis:"Settings"action:"afViewRefresherExt::RefreshAction.openSettings"}

Thanks Delali


Log in or Sign up to post a reply.