Page 1 of 1

How to optimize report rendering performance in Angular using Stimulsoft

Posted: Tue Oct 22, 2024 1:11 pm
by denisNexcode
I'm developing an Angular application that generates reports using Stimulsoft. The report rendering is causing significant UI performance issues, like UI freezing and lag, especially when dealing with large datasets.

I tried using Angular's NgZone to run the report generation process outside of Angular's zone to prevent unnecessary change detection and improve performance. However, even with this approach, the UI still lags and the loading spinner becomes unresponsive during the report generation.

Re: How to optimize report rendering performance in Angular using Stimulsoft

Posted: Wed Oct 23, 2024 2:02 pm
by Lech Kulikowski
Hello,

Please send us a sample project that reproduces the issue for analysis.

Thank you.

Re: How to optimize report rendering performance in Angular using Stimulsoft

Posted: Thu Oct 24, 2024 12:02 pm
by denisNexcode
Hello, thank you for your response. However, I have already found a solution to my report loading delay issue. I am using the following function as a solution:

Code: Select all

report.renderAsync(function () {
    document.write("Completed.<br>");
    document.write("Rendered page count: " + report.renderedPages.count);
});

Re: How to optimize report rendering performance in Angular using Stimulsoft

Posted: Fri Oct 25, 2024 7:32 am
by Lech Kulikowski
Hello,

Thank you for the information.