Hi all
How to get access to the view controller from the js view?
I tried the followings, but didn't work
this.getControllerName()
sap.ui.getCore().byId(<viewname>).getController()
What is the correct way to get the controller.
Regards
Aakash
Hi all
How to get access to the view controller from the js view?
I tried the followings, but didn't work
this.getControllerName()
sap.ui.getCore().byId(<viewname>).getController()
What is the correct way to get the controller.
Regards
Aakash