Search code examples
angularjsangularjs-scope

angular-dashboard-framework AutoRefresh


I'm using https://github.com/angular-dashboard-framework/angular-dashboard-framework One of our requirement is autofresh complete dashboard or currently focued tab after 15 minutes. e.g. if user is on http://angular-dashboard-framework.github.io/angular-dashboard-framework/#/sample/01 then it should be automatically refreshed after 15 minutes.

Found lot of CRUD methods to refresh html page on body load etc. Is there standard way in ADF angular-dashboard-framework to achieve this?


Solution

  • I think that you can try two possible solutions:

    1. The first is add an interval on the dashboard controller, exactly like widget
    2. Using interval on div which contains dashboard. (Tutorial)

    I'm not sure that one of this solution is correct because both are not tested, but is an attempt.

    Let me know and if you want contact me :)

    Regards