Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Access item of an aggregation binding

Hi experts,

In my XML view I have Control that used aggregation binding from a JSON model. My question is what is the earliest event that I can use to access the items of that Control in Controller?

For example, with <items> aggregation binding of an IconTabBar, when will I be able to access the item IconTabFilter?

Thanks much for your help.

Tags:
Former Member
Former Member replied

hi Nguyen

You can do

oModel = new sap.ui.model.json.JSONModel("data.json"); oModel.attachRequestCompleted(function() {

oDetailPage.getController().....; });

-D

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question