Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

Is there any alternative way to access controls of views from controller?

$
0
0

For Example

I can access TextBox of View from controller like this

sap.ui.getCore().byId("txtBox1").setEnabled(true);

and By passing Parameter.

 

Can anyone please tell if there is any alternative way to do it..?


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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