Skip to Content

Showing busy Indicator While Aggreagation Binding

Hello Experts,

I am creating UI with sap.m.Table, sap.m.Bar as Template and each Table has more than 2000 - 10000 records.

So while am binding with Table, Bar, and other controls as Template for Aggreagation of Scroll container to bind and display it is taking 3-4 Seconds and in IE more than 7-10 seconds.

Could you please guid me how to show the busy indicator (setBusy True)before binding,and hide after the loading control. ( setBusy False)

Best Regards,

Bhaskar.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 16, 2017 at 04:18 AM

    Hi Bhaskar Kuntla,

    You can use the sap.m.BusyDialog for this purpose.

    var dialog = new sap.m.BusyDialog({
    					  text:'Loading Data...',
    					 
    				});
    				dialog.open();
    				setTimeout(function(){ 
    					dialog.close() 
    				
    					//Bind your table
    
    					table.bindAggregration(....);
    				}, 3000);
    

    Regards,

    Arjun Biswas

    Add comment
    10|10000 characters needed characters exceeded