Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Apr 21, 2017 at 09:51 AM

    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.

    Add comment
    10|10000 characters needed 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

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

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

    Thanks,
    Yunus

    Add comment
    10|10000 characters needed 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