JS Auto Refresh of Report

  • Last update:  2020-12-15
  • I.Problem description

    For monitoring systems, database is updated in a real-time manner, so you may wish the report on the browser side can be refreshed timely, for example, when monitoring the trend of stock prices. Therefore, how to realize auto report refresh?

    II.Implementation method

    Click [Template] > [Web attributes]. In Web Attributes panel, click Pagination Preview tab, and choose Individually set for the report. Afterwards, you can click the plus sign to add a Load End (i.e. afterload) event. 

    Use the JS setInterval method to call a reload function at a specific time interval to realize auto refresh, and the corresponding JS script is shown below:

    setInterval("self.location.reload();",10000); //10000ms means refresh per 10s


    Attachment List


    Theme: Report Application
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy