102
Views
16
Comments
Solved
in aggregate 10000 records are there , how to speedup the loading of that aggregate
Question
Application Type
Reactive

in aggregate 10000 records are there , how to speedup the loading of that aggregate 

2023-05-23 04-55-55
Wasimkhan Syed Abuthahir
Solution

Hi,

You are hiding the second table in if condition and so that second table is not available in DOM.

Here is the quick fix. Hope you can go from here.


Regards,

Wasimkhan S

SampleV1.oml
2023-05-23 04-55-55
Wasimkhan Syed Abuthahir

Hi,

Can you elaborate your requirement. To speed up the loading you can set max record in aggregate property. you can also set variable to it.

https://success.outsystems.com/documentation/11/developing_an_application/design_ui/patterns/using_mobile_and_reactive_patterns/navigation/pagination/

Regards,
Wasimkhan S

2025-09-30 05-07-45
SreenivasuluReddy Lingala

Hi Wasim

i want visible 10000 records without pagination, how to speed up the loading of that table aggregate 

2023-05-23 04-55-55
Wasimkhan Syed Abuthahir

You can increase the max record on scroll.

Regards,

Wasimkhan S

UserImage.jpg
vikas sharma
Champion

Hi,

10000 records will not be visible on the screen anyhow. So if you don't want to go for manual pagination then can do something on page scroll.

To speed up, can use indexing on entity and also ensure fetch only required fields as per UI requirement.

regards

2023-05-23 04-55-55
Wasimkhan Syed Abuthahir

Hi,

Here is the sample OML.

Regards,

Wasimkhan S

Sample.oml
2023-05-23 04-55-55
Wasimkhan Syed Abuthahir

Was it helpful?

Regards,
Wasimkhan S

2025-09-30 05-07-45
SreenivasuluReddy Lingala

Hi wasim,

Same screen has two tables with button group, that time the Java script not working and screen shows an error while on render

2023-05-23 04-55-55
Wasimkhan Syed Abuthahir
2025-09-30 05-07-45
SreenivasuluReddy Lingala
2023-05-23 04-55-55
Wasimkhan Syed Abuthahir
Solution

Hi,

You are hiding the second table in if condition and so that second table is not available in DOM.

Here is the quick fix. Hope you can go from here.


Regards,

Wasimkhan S

SampleV1.oml
2019-01-07 16-04-16
Siya
 
MVP


The error message "cannot read properties of null (reading 'addEventListener')" suggests that the JavaScript code is trying to locate an HTML element by its ID to attach an event listener, but it fails to find any element with the specified ID when the code runs. Instead of using document.getElementById("PendingListTable"), why not pass the ID of the table as a parameter to the script, like document.getElementById(parameters.id), and see if that works?

Also, I'd recommend creating a new post when the context of the problem changes. This way, people with specific expertise in the area can assist you more effectively.

2025-09-30 05-07-45
SreenivasuluReddy Lingala

Hi Wasim

Previously we are discussed with Button Group, Same functionality we want to try in Navigation tabs ?How

2025-09-30 05-07-45
SreenivasuluReddy Lingala

Hi Wasim,

This screen converted to Block and that block used in another screen that on ready action not working Scrolling of Orders

2025-03-11 17-46-55
Tiago Dias

Hi,

I don't think it's clear why you want/need to do that. It's not a best practice to load that many records (considering you want to load to screen). Maybe you want to export data to excel or do a print of all records?

Please note that:

  • If you have a order by condition, you should have an index created over the order by column(s). That would speed the data retrieval from database (but only if you have an order by condition applied);
  • If you have search fields, you should also consider to index those fields/columns;
  • If you want to show the information directly on screen (not to print), and you don't want do do pagination, lazy loading it would be the correct approach;
  • If you want to do a full record print, you should create a specific page to do that;

Please add more context over what you're trying to achieve.

Best Regards,
Tiago

2024-03-18 14-50-37
Nuno Miguel Basto Vieira

Hi, why you need to show 10k records?

Maybe if you can contextualize, someone can help you.


Just imagining what you what are looking for, I remember the lazy loading.


I am curious about a solution.


Regards

2024-09-04 13-52-14
Niket Makwana

There must be some reason for such requirement, could you please provide some more context?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.