Skip to Content

growingThreshold alternative for Sap.ui.Table

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 16, 2019 at 02:12 PM
    -1

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.