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

Re: Difficulty in binding single entity to detail page!

$
0
0

Yes! Finally I got it.

 

var bindingContext =this.getView().getBindingContext();
var path = bindingContext.getPath();
varobject= bindingContext.getModel().getProperty(path);

If you only want a certain property of your displayed object you can do something like this:

varproperty= bindingContext.getProperty("<nameOfProperty>");

Viewing all articles
Browse latest Browse all 2740

Trending Articles



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