afViewRefresherExt

Auto-refresh your SkySpark Views
afViewRefresherExt

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 2 watchers.

v1.1.0

Overview

View Refresher for SkySpark adds auto refresh functionality to your custom views by making the following quality-of-life action buttons available. All or none may be added to your views.

Start Stop Refresh Settings

  • Start - starts auto refreshing your view
  • Stop - stops auto refresh
  • Refresh - Manual refresh
  • Settings - Opens a dialogue to customise refresh frequency (1 second, 10 seconds, etc...)

Buttons

If using View Builder - buttons may be added your custom view like this:

View Builder Actions

If editing your View source by hand, buttons may be added with:

btnStart    : { action:"afViewRefresherExt::AutoRefresh.start"        dis:"Start"    }
btnStop     : { action:"afViewRefresherExt::AutoRefresh.stop"         dis:"Stop"     }
btnRefresh  : { action:"afViewRefresherExt::AutoRefresh.refresh"      dis:"Refresh"  }
btnSettings : { action:"afViewRefresherExt::AutoRefresh.openSettings" dis:"Settings" }

Refresh Interval

The refresh interval may be set via the Settings Dialogue button:

Settings Dialogue

A default value may be set via the View Builder via the afRefreshInterval variable:

View Builder Vars

Or via the source:

afRefreshInterval : { var kind:"Number" defVal:3s }

If no afRefreshInterval var is specified, it defaults to 5 seconds.

Example View

A simple clock can be created by making a new Custom View that inherits the Table View which shows the the Axon expression now()

view        : { inherit: "table" }
data        : { expr   : "now()" }
btnSettings : { action:"afViewRefresherExt::AutoRefresh.openSettings" dis:"Settings" }

FAQs

Can View Refresher be used with the default SkySpark Views?

View Refresher can only be used on Views you can add custom Actions to, so sadly, we do not think View Refresher can be added to existing default Views.

But you can create a new Custom View that re-uses a default View and add View Refesher to that!

Need Help with ViewBuilder?

Need a helping hand with SkySpark Viewbuilder? Then look no further than...

Fantom Factory's SkySpark Viewbuilder eLearning course!

Explore and create dashboards and views with practical exercises and guided walkthroughs.

Licence

View Refresher is not open source, but it is free to use.

By using View Refresher you agree to the End User Licence Agreement contained within the software.

Release Notes

v1.1.0

  • Chg: Recompiled to be compatible with SkySpark v3.1.x.
  • Chg: New "About Us" dialogue.

v1.0.0

  • New: Initial release.
Published by Fantom Factory

Products & Services by Fantom Factory

Packages by Fantom Factory

Commercial packages

Free packages

Package details
Version1.1.0
LicenseCommercial
Build date2 months ago
on Wed 2nd Mar
Requirements SkySpark v3.1.1
Depends on
File nameafViewRefresherExt.pod
File size55.49 kB
MD5a17bdda9aa588aa1ec6ec0e96e75374f
SHA1 b31741f126d24fd9d71c01feae8c9882863a39cd
Published by
Fantom FactoryDownload now
Also available via SkyArc Install Manager
Tags
Fantom Pod
Sky Arc Ext