Skip to Content
0
Former Member
Aug 14, 2015 at 07:31 AM

show Loader or busyindicator while naviagting from one page to other page using Router

388 Views

Hi Team,

I am using below snippet for naviagating pages with dynamic menu and i need to show the loader or busyindicator while naviagte from one page to other pages.

function loadpage(MenuRouter,MenuName)

{

var oRouter = sap.ui.core.routing.Router.getRouter("appRouter");

oRouter.navTo(MenuRouter);//MenuRouter is pagename

$(".MenuBtn").removeClass("activeBtn");

$("."+MenuRouter).addClass("activeBtn");

}

Please anyone helpme as soon as possible.

With Regards,

krishnakumar S