Quantcast
Channel: SCN: Message List - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 8124

Re: How to Reference Control with Auto ID?

$
0
0

It's difficult if you don't assign an ID. The framework will autogenerate an ID, and if you have stored the control object in a variable (e.g. var Olist) then you can ask the control object via .getId(). If you have no access to the ID at all, things get complicated. You're stuck with having to sift through the Layout using getContent() etc trying to find the desired control. You can also try to use a jQuery selector to find the DOM element, and from there try and backtrack to the UI5 control.


Viewing all articles
Browse latest Browse all 8124

Trending Articles



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