Slow Rendering for bulk records

Stimulsoft Reports.BLAZOR discussion
Post Reply
charlvdb
Posts: 21
Joined: Fri Sep 01, 2017 5:59 am
Location: South Africa

Slow Rendering for bulk records

Post by charlvdb »

Hi

Using BlazorViewer and having issues rendering 100k records or more.
System memory eventually runs out, and I need to close the browser.

Business Objects are used, the object is filled with data via Postgresql; This loads quick, but when rendering it slows down.
Is it possible to only load 1000 records at a time, then on scroll or page skip/next the next bunch of 1000 rows are rendered on the report?
An API is used to send the report parameters through to the repository, resultset is returned and assigned.

Code: Select all

var report = new StiReport();
 report.LoadFromString(assembly.ReadResource("TransactionList.mrt"));

// Simulate 100k rows
var data = new List<TransactionList>(100_000);
for (int i = 0; i < 100_000; i++)
    data.Add(new TransactionList());
    
 report.RegBusinessObject("TransactionListReportData", data );
 await report.RenderAsync();
 
 
We are using ServerSide Rendering in Blazor.
Any other suggestions are welcome.
Lech Kulikowski
Posts: 7424
Joined: Tue Mar 20, 2018 5:34 am

Re: Slow Rendering for bulk records

Post by Lech Kulikowski »

Hello,

Unfortunately, no, it is no possible. All data should be loaded before report rendering.

Thank you.
charlvdb
Posts: 21
Joined: Fri Sep 01, 2017 5:59 am
Location: South Africa

Re: Slow Rendering for bulk records

Post by charlvdb »

Is there any other way to get this to work?
Post Reply