External pagination or lazy loading?
Posted: Fri May 26, 2017 9:06 am
Hello guys,
I searched all the Reports.JS docs is there is a way to achive some kind of a lazy loading/external pagination for current reports we're having right now. We're using the Reports.JS library with Angular.JS and we're making a single call to the DB to retrieve all the data needed. However, currently this is taking too much for some reports, as they are consisted with more than a 10,000 entries. The processing and feeding the results with all of this data can take quite a big amount of time sometimes and we wanted to work this out. We've developed a functionality to our DB calls that you can specify the starting entry index and the maximum amount of records you want to retrieve, but I'm still not sure how we can implement such a thing into the Reports.JS Viewer and make calls when we're switching pages.
Is there anything related to this, or if it's going to be released in the future?
Thanks in advance!
I searched all the Reports.JS docs is there is a way to achive some kind of a lazy loading/external pagination for current reports we're having right now. We're using the Reports.JS library with Angular.JS and we're making a single call to the DB to retrieve all the data needed. However, currently this is taking too much for some reports, as they are consisted with more than a 10,000 entries. The processing and feeding the results with all of this data can take quite a big amount of time sometimes and we wanted to work this out. We've developed a functionality to our DB calls that you can specify the starting entry index and the maximum amount of records you want to retrieve, but I'm still not sure how we can implement such a thing into the Reports.JS Viewer and make calls when we're switching pages.

Is there anything related to this, or if it's going to be released in the future?

Thanks in advance!