cancel
Showing results for 
Search instead for 
Did you mean: 

growingThreshold alternative for Sap.ui.Table

0 Kudos

Hi experts,

I have a Sap.uiTable which has to load more than 1000 rows. I have set the next properties to the table:

enableBusyIndicator="true"
threshold="100"
visibleRowCountMode="Auto"

This will load the first 110 rows and then, when the user scrolls will load more rows.

The problem is that, when the user starts scrolling and the first not loaded row gets loaded, the busy indicator will show, and the same with every single row that was not loaded on the first loading of the table.

I would need the table to load 50 rows every time the busy indicator appears instead of just 1.

In this piece of documentation: https://sapui5.hana.ondemand.com/1.36.7/docs/guide/9164ba7047b74a25a19baf9c5bb986ae.html

I have seen that the Sap.m.table has the property "growingThreshold" which is described as: "The number of items that are requested each time from the model". It seems like that is exactly what I need but on my Sap.ui.Table.

Does anyone knows any workaround to make this work for this type of table?
Does it make any sense to have the busy indicator appear on every single row loading?

Thank you in advance

maheshpalavalli
Active Contributor
0 Kudos

Can u check the odata request in developer tools and see if the top and skip are going correctly? and check if the data is being returned correctly to you.

Accepted Solutions (0)

Answers (1)

Answers (1)

Sharathmg
Active Contributor
0 Kudos

why not use sap. M. Table itself. It offers everything and more importantly it's device agnostic.

0 Kudos

I am currently doing that.

But I was wondering if it is possible on Sap.ui.Table since I think that it does not make sense that by default the busy indicator blocks the table on every row load