Openui5: How to bind Nested JSON to list in SAP UI5?

Created on 2 Oct 2018  路  3Comments  路  Source: SAP/openui5

OpenUI5 version:

Browser/version (+device/version):

Any other tested browsers/devices(OK/FAIL):

URL (minimal example if possible):

User/password (if required and possible - do not post any confidential information here):

Steps to reproduce the problem:
1.
2.
3.

What is the expected result?

What happens instead?

Any other information? (attach screenshot if possible)

consulting

Most helpful comment

Hi @LalitMendha
this is not a place to ask a question like yours. You might want to try the openui5 slack channel
https://slackui5invite.herokuapp.com/
or stackoverflow
https://stackoverflow.com/questions/tagged/sapui5

Sincerely
Fjaoos

All 3 comments

Employee-{EmployeeSet: Array(2), EmployeeId: "2337"}

{

EmployeeId: "2337"

EmployeeSet: Array(2)

0: EmployeeDesc: "ABC" EmployeeNumber: "123" TotalScore: "2000.000" EmployeeDetail: Array(2)

0: {ReceivedScore: "30", Rank: "1", BatchNo: "100"}

1: {ReceivedScore: "40", Rank: "2", BatchNo: "101"}

1: EmployeeDesc: "XYZ" EmployeeNumber: "456" TotalScore: "3000.000"

EmployeeDetail: Array(2)

0: {ReceivedScore: "50", Rank: "1", BatchNo: "102"}

1: {ReceivedScore: "60", Rank: "2", BatchNo: "103"}

}

Hi Team, I want to bind above nested Josn data in List. The List contains following column:

EmpNo, EmpDesc, ReceivedScore, Rank, BatchNo.

it contains 4 rows i.e;

123|ABC|30|1|100

123|ABC|40|2|101

456|XYZ|50|1|102

456|XYZ|60|2|103

I tried many ways but was unable to bind this data can you please help me to solve this problem.. Any help is appreciated.

Thanks:)

Hi @LalitMendha
this is not a place to ask a question like yours. You might want to try the openui5 slack channel
https://slackui5invite.herokuapp.com/
or stackoverflow
https://stackoverflow.com/questions/tagged/sapui5

Sincerely
Fjaoos

Was this page helpful?
0 / 5 - 0 ratings