cancel
Showing results for 
Search instead for 
Did you mean: 

Facing Problem In Binding DATA

former_member604901
Participant
0 Kudos

I am a beginner in SAP UI5 technology. And trying to learn this technology.

I am getting this error can some please let me know where I had gone wrong.

I got this error "Cannot read property 'getBinding' of undefined".

My list is showing undefined. what is the cause of this.

Any Help woud be appreciated.

TIA.

I need my output like this (also i took the reference from this)

https://jsbin.com/fubaluv/84/edit?html,js,output

# This one is my View

#This is my view controller.

Joseph_BERTHE
Active Contributor
0 Kudos

We cannot see the picture 🙂

Accepted Solutions (1)

Accepted Solutions (1)

mvaibhav
Contributor

Hi Sandeep,

You have used the incorrect list ID in controller. You list id is "itm" and not "List".

In method, handlleIconTabBarSelect, use the following

var oList = this.getView().byId("itm")

Thanks,

Vaibhav Maheshwari

Answers (2)

Answers (2)

NilPeksen
Active Participant

Please try var list = sap.ui.getCore().getElementById("idList");

former_member604901
Participant
0 Kudos

I still got this error

0 Kudos

Hi Sandeep,

Can you please try to get the list from the view. Like var list = this.getView().byId("idList");

former_member604901
Participant
0 Kudos

I am still having the same Error.

former_member604901
Participant
0 Kudos

this is my View.

Hi,

You should get the list with related id. Like

var oList = this.getView().byId("itm");