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

Re: How to get the binded Model or bindingContext of dynamically generated model?

$
0
0

Hi,

You are setting named models to your UI5 controls (the second parameter to setModel). When you do, you must pass the same name as a parameter to getBindingContext(). This is typically needed when the same control needs data from multiple models.

Since that does not seem to be the case with your code, you can simplify it a bit with this :

http://jsbin.com/bicasegeve/1/

 

Does this solve your problem?

 

Regards,

Pritin


Viewing all articles
Browse latest Browse all 8499

Trending Articles



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