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

Re: sap.ui.layout.. simple form....how to bind an odata service to controls inside ?

$
0
0

Hi Ashwin,

 

In your controller in onInit method get the instance of the form and then bind the same to the model

 

something like this:

 

oForm = sap.ui.getCore().byId("formid");

oForm.setModel(oModel);

 

Hope this helps.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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