Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sapui5 get fragment by id

//It is supposed to by deprecated, but it was the only thing that worked for me
var oControl = sap.ui.getCore().byId("controlId");
var oBinding = oControl.getBinding("items"); //or content or whatever the Control has
 
PREVIOUS NEXT
Tagged: #fragment #id
ADD COMMENT
Topic
Name
7+7 =