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

Re: annotations and oData model

$
0
0

Hi Alexander,

 

If you  detail table is in another view, in that bind the context of second entity to the view using below code:

 

sap.ui.getCore().getModel("ModelName").createBindingContext("/SecondEntitySet((GENKEY=2,NUM_LINE='000000004'),

  function(oContext) { 

    oView.setBindingContext(oContext); 

}

 

oView is the view instance.

 

Hope this helps.


Viewing all articles
Browse latest Browse all 8082

Trending Articles



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