cancel
Showing results for 
Search instead for 
Did you mean: 

Using setBindingContext in List with named model

ashish
Explorer
0 Kudos

I have set Context object on list, on click of item from another list.

I am getting context object on that list too, but items are not binded with provided path.

Here is what I'm upto!.

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos

JS Bin - Collaborative JavaScript Debugging

two change

1.

path: "{auctions>Auctions}",----->path: "auctions>Auctions",

2. no need to manipulate the context, you can set directly

list.setBindingContext(context, "auctions");

Answers (1)

Answers (1)

saivellanki
Active Contributor
0 Kudos

Hi Ashish,

Edited the JSBin, Now it works: JS Bin - Collaborative JavaScript Debugging

Regards,

Sai Vellanki.