cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a limit of rows/records that a ui5 table can display??

0 Kudos
2,123

Hello Experts.

Again I turn to you for some doubts. What happens is that we currently have a display theme with a ui5 table. In the first part of the window, it appears that we have 176 records in total, but when viewing them, only between 99 and 100 records appear.

Here they show us 176 records


but it only goes up to number 134, showing 99 records

The same case when we enter the following detail view, which shows only 100 records, although there are more than 1000.

lthough it shows that it has more than 1000 records, the table only goes up to 100

my doubt would be Is there a way I can get all the records in the table to be displayed? o Do Fiori tables only have a limit of 100 records to be able to teach?


Thanks in advance for your answers. Greetings. ebz.

Accepted Solutions (0)

Answers (3)

Answers (3)

WouterLemaire
Active Contributor

Ui5 tables can show as many as needed, no limitation at all. But it does use paging to not load all rows at once. It will load in blocks of 20, or maybe something else. This depends on the config of your odata model. Probably in your case this is 100. To make this work your backend needs to implement paging and handle the skip and top parameters. Most probably this is missing and doesn’t show new lines… can you validate if your service supports paging correctly?

0 Kudos

Hello Wouter. Honestly, I didn't do all the code as such, so I was kind of lost, but searching a little more, I was able to solve it, using the following in my view, in the Table section.

growingThreshold="100" growingScrollToLoad="false" growing="true"
This made me able to show a button at the end, which when clicked, shows another 100 records and so on. So in the end, they liked me better that way and I am approved. Thank you for your kind answer, I will take it into account when something similar comes up in the future. Greetings. ebz
t_ramkumar73
Participant
0 Kudos

Hi Edson

Good to see your issue is resolved by paging.

Regards

Ram

t_ramkumar73
Participant
0 Kudos

Hi Edson

What model are you using local or global model to bind the values to the UI5 table.

If it is local model, you need to allocate the memory. If not use the global model to bind all the records.

0 Kudos
Hello Ramkumar. Honestly, I didn't do all the code as such, so I was kind of lost, but searching a little more, I was able to solve it, using the following in my view, in the Table section.
growingThreshold="100" growingScrollToLoad="false" growing="true"
This made me able to show a button at the end, which when clicked, shows another 100 records and so on. So in the end, they liked me better that way and I am approved. Thank you for your kind answer, I will take it into account when something similar comes up in the future. Greetings.

ebz