Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3354

Re: how to fix this.router is not a function

$
0
0

Hi David ,

Inside your  controller, please add this function and try .

 

getRouter : function()

{

 

          return sap.ui.core.UIComponent.getRouterFor(this);

},

 

and then write :-

 

this.getRouter().navTo("myview1routername");

 







Viewing all articles
Browse latest Browse all 3354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>