Showing the progress bar as soon as report viewer loads

Posted by: vanik on 10 April 2022, 7:00 pm EST

  • Posted 10 April 2022, 7:00 pm EST

    Hi,
    Is there a way to show progress bar as soon as report viewer loads, as of now report viewer loads and user will have to wait until report data is given out by the API and progress bar appears only for less than a second. We want progress bar to fire as soon as the report viewer displays and tick over until the report loads.
  • Replied 10 April 2022, 8:15 pm EST

    Hello,
    You could add handlers to the "reportLoaded" and "documentLoaded" events of the viewer component to start displaying the progress bar and hide it, respectively. You can find more information in the API documentation:
    https://www.grapecity.com/activereportsjs/api/classes/ReportViewer.Viewer#reportloaded
    https://www.grapecity.com/activereportsjs/api/classes/ReportViewer.Viewer#documentloaded
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels