Skip to Content
0

How to enable Busy indicator while growing items via Scroll in sap.m.List ?

Apr 21, 2017 at 07:53 AM

147

avatar image
Former Member

Hi Experts

I have a master detail app in which the property "growing" of list on the master page is enabled and Threshold is set to 10. Items are bound via OData Model to that list.

Issue is that when the list is scrolled there is no busy indicator shown in the list. How do i enable that in the list ?

Thanks & Regards

Rachna Bhati

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Ulrich Block
Apr 21, 2017 at 09:51 AM
2

The control is documented here: sap.m.List

In the documentation you will that is extending the control sap.m.ListBase . The extended control has the property enableBusyIndicator. If you configure it at the sap.mList and set it to true, you likely see a busy indicator, when oData is queried. If you backend is fast, you might want to decrease the delay in which the busy indicator is shown.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Ulrich,

I tried using this property before but it's default property is true. I need busyIndicator as shown in Demo Apps here. It shows busy Indicator before loading the list and also after scrolling.

Thanks and Regards,

Rachna Bhati

0
avatar image
Former Member Apr 24, 2017 at 06:36 AM
0

Try opening the busy dialog in the updateStarted event of ListBase
You can refer this link sap.m.ListBase - updateStarted.

Thanks,
Yunus

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Yunus

Thanks for replying but i don't want a dialog i want to show busy indicator when the list of master page is scrolled as shown here. I Have tried to enable and disable busyindicator in updateStarted and updateFinished events but it does'nt works.

Thanks & Regards

Rachna

0